fix stupid code with lot of debug
This commit is contained in:
parent
72fcfcb323
commit
e00ce8a09b
|
@ -1165,15 +1165,12 @@ class Roster_window:
|
||||||
|
|
||||||
def init_transports_pixbufs(self, arg, dirname, fnames):
|
def init_transports_pixbufs(self, arg, dirname, fnames):
|
||||||
name_only = os.path.basename(dirname)
|
name_only = os.path.basename(dirname)
|
||||||
print name_only
|
if name_only == 'transports' or name_only == '.svn':
|
||||||
print name_only != 'transports'
|
return
|
||||||
if name_only != 'transports' or not name_only.startswith('.svn'):
|
for fname in fnames:
|
||||||
for fname in fnames: # fname is not abs
|
transport_kind = name_only
|
||||||
print 'fname', fname, 'in dir', dirname
|
return
|
||||||
transport_kind = name_only
|
self.transports_pixbufs[transport_kind][fname] = 'be'
|
||||||
return
|
|
||||||
self.transports_pixbufs[transport_kind][fname] = 'be'
|
|
||||||
|
|
||||||
|
|
||||||
def reload_pixbufs(self):
|
def reload_pixbufs(self):
|
||||||
self.mkpixbufs()
|
self.mkpixbufs()
|
||||||
|
|
Loading…
Reference in New Issue