removed buggy PACKAGE_NAME constant

This commit is contained in:
relikd
2015-03-20 16:20:58 +01:00
parent e5cb23f763
commit 9b928bd558
2 changed files with 4 additions and 4 deletions

View File

@@ -6,11 +6,11 @@ class ToggleBinaryCommand(sublime_plugin.TextCommand):
fname = self.view.file_name() fname = self.view.file_name()
if os.path.splitext(fname)[1].lower() != ".plist": if os.path.splitext(fname)[1].lower() != ".plist":
sublime.error_message("%s: Not a *.plist file!" % PACKAGE_NAME) sublime.error_message("Plist Binary: Not a *.plist file!")
return return
if self.view.is_dirty(): if self.view.is_dirty():
sublime.error_message("%s: Can't encode an unsaved file!" % PACKAGE_NAME) sublime.error_message("Plist Binary: Can't encode an unsaved file!")
return return
if self.view.substr(sublime.Region(0, 5)) == "<?xml": if self.view.substr(sublime.Region(0, 5)) == "<?xml":

View File

@@ -6,11 +6,11 @@
"description": "De/Encode .plist files between XML and binary format", "description": "De/Encode .plist files between XML and binary format",
"author": "relikd", "author": "relikd",
"homepage": "https://github.com/relikd/plist-binary_sublime", "homepage": "https://github.com/relikd/plist-binary_sublime",
"last_modified": "2013-10-04 01:36:42", "last_modified": "2015-20-03 16:19:42",
"platforms": { "platforms": {
"osx": [ "osx": [
{ {
"version": "1.0.2", "version": "1.0.3",
"url": "https://nodeload.github.com/relikd/plist-binary_sublime/zipball/master" "url": "https://nodeload.github.com/relikd/plist-binary_sublime/zipball/master"
} }
] ]