projects
/
gonvert
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7de6aa
)
Making an assert a bit more helpful
author
Ed Page
<eopage@byu.net>
Thu, 7 Jul 2011 02:14:57 +0000
(21:14 -0500)
committer
Ed Page
<eopage@byu.net>
Thu, 7 Jul 2011 02:14:57 +0000
(21:14 -0500)
src/gonvert_qt.py
patch
|
blob
|
history
diff --git
a/src/gonvert_qt.py
b/src/gonvert_qt.py
index
58ddf58
..
561c737
100755
(executable)
--- a/
src/gonvert_qt.py
+++ b/
src/gonvert_qt.py
@@
-831,7
+831,7
@@
class QuickConvert(object):
for item in self._outputView.selectedItems()
]
if selectedNames:
for item in self._outputView.selectedItems()
]
if selectedNames:
- assert len(selectedNames) == 1
+ assert len(selectedNames) == 1, selectedNames
name = selectedNames[0]
self._select_output(name)
else:
name = selectedNames[0]
self._select_output(name)
else: