aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2017-10-07 19:03:11 +0000
committerMatěj Cepl <mcepl@cepl.eu>2017-10-07 19:03:11 +0000
commit8866e4afc744789c75c8a2df46f9299b6d1a1ea6 (patch)
tree148a120fcdfdac398b8b964f8a9284a399ce72c9 /libbe/command
parent968d212a1f98984744ea6816b9d986231028a714 (diff)
parenta5f5f82b415b233c6fab18cb79983da3f7d5425c (diff)
downloadbugseverywhere-8866e4afc744789c75c8a2df46f9299b6d1a1ea6.tar.gz
Merge branch '09f0a034-003f-4e8e-a470-bd98c547b131' into 'master'
Some trivial fixes [NFC] See merge request bugseverywhere/bugseverywhere!5
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/base.py2
-rw-r--r--libbe/command/list.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/libbe/command/base.py b/libbe/command/base.py
index 36769f1..f019450 100644
--- a/libbe/command/base.py
+++ b/libbe/command/base.py
@@ -183,7 +183,7 @@ class Option (CommandInput):
if self.arg == None:
assert self.callback != None, self.name
return
- assert self.callback == None, '%s: %s' (self.name, self.callback)
+ assert self.callback == None, '%s: %s' % (self.name, self.callback)
assert self.arg.name == self.name, \
'Name missmatch: %s != %s' % (self.arg.name, self.name)
assert self.arg.optional == False, self.name
diff --git a/libbe/command/list.py b/libbe/command/list.py
index fb9a8f5..4bb9c7b 100644
--- a/libbe/command/list.py
+++ b/libbe/command/list.py
@@ -21,7 +21,6 @@
# Bugs Everywhere. If not, see <http://www.gnu.org/licenses/>.
import itertools
-import os
import re
import libbe