Skip to content

Commit

Permalink
Update classes.py
Browse files Browse the repository at this point in the history
fix blank
  • Loading branch information
Monster committed Oct 12, 2014
1 parent ef6b221 commit 7b076ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/andbug/cmd/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
def classes(ctxt, expr=None):
'lists loaded classes. if no partial class name supplied, list all classes.'
with andbug.screed.section('Loaded Classes'):
for c in ctxt.sess.classes():
n = c.jni
if n.startswith('L') and n.endswith(';'):
n = n[1:-1].replace('/', '.')
else:
continue
for c in ctxt.sess.classes():
n = c.jni
if n.startswith('L') and n.endswith(';'):
n = n[1:-1].replace('/', '.')
else:
continue

if expr is not None:
if n.find(expr) >= 0:
andbug.screed.item(n)
else:
if expr is not None:
if n.find(expr) >= 0:
andbug.screed.item(n)
else:
andbug.screed.item(n)

0 comments on commit 7b076ad

Please sign in to comment.