mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 14:00:15 +01:00
contrib/bkr: fix crash with missing profile argument
This commit is contained in:
parent
6f167d957f
commit
b50f88abfa
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ class CmdSubmit(CmdBase):
|
|||
|
||||
self.subs['TESTS'] = ','.join(sorted(set(tests)))
|
||||
self.subs['ARGV'] = ("\"" + "\" \"".join(sys.argv) + "\"") if sys.argv else ''
|
||||
self.subs['ARGV_PROFILE'] = ("\"" + "\" \"".join(self.argv_profile) + "\"") if getattr(self, 'argv_profile') else ''
|
||||
self.subs['ARGV_PROFILE'] = ("\"" + "\" \"".join(self.argv_profile) + "\"") if hasattr(self, 'argv_profile') else ''
|
||||
|
||||
for (k,v) in self.subs.iteritems():
|
||||
self._print_substitution(k, v)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue