From f77ab860109192d0ed25ecb889801a4f9a3afd24 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Fri, 26 Nov 2010 14:51:07 +0100 Subject: [PATCH] - beautify --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index f5bf761e..6f176f84 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -746,7 +746,7 @@ class Osc(cmdln.Cmdln): src_update = conf.config['submitrequest_on_accept_action'] or None # we should check here for home::branch and default to update, but that would require OBS 1.7 server - if subcmd == 'submitpac' and opts.no_cleanup == False: + if subcmd == 'submitpac' and not opts.no_cleanup: opts.cleanup = True; if opts.cleanup: