Module: check_mk
Branch: master
Commit: 25cafc772ca86ef57739f27a9d3d858832edb424
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=25cafc772ca86e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 22 13:46:28 2015 +0100
Fix newly introduced error with mkp release
---
modules/packaging.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packaging.py b/modules/packaging.py
index 6f6f962..1f0e39a 100644
--- a/modules/packaging.py
+++ b/modules/packaging.py
@@ -245,7 +245,7 @@ def package_release(args):
pacname = args[0]
pacpath = pac_dir + pacname
- if package_exists(pacname):
+ if not package_exists(pacname):
raise PackageException("No such package %s." % pacname)
package = read_package_info(pacname)
verbose("Releasing files of package %s into freedom...\n" % pacname)