aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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