Fix up some debugging from the previous commit
This commit is contained in:
parent
e35709e5e0
commit
d2d4670915
|
@ -380,7 +380,7 @@ text/plain
|
||||||
|
|
||||||
if self.conf.use_custom_command and shell[0] != '/':
|
if self.conf.use_custom_command and shell[0] != '/':
|
||||||
for path in paths:
|
for path in paths:
|
||||||
print ('spawn_child: looking for "%s"'%os.path.join (path, shell))
|
dbg ('spawn_child: looking for "%s"'%os.path.join (path, shell))
|
||||||
if os.path.exists (os.path.join (path, shell)):
|
if os.path.exists (os.path.join (path, shell)):
|
||||||
shell = os.path.join (path, shell)
|
shell = os.path.join (path, shell)
|
||||||
break
|
break
|
||||||
|
@ -1693,9 +1693,7 @@ if __name__ == '__main__':
|
||||||
value = ''
|
value = ''
|
||||||
while parser.rargs:
|
while parser.rargs:
|
||||||
arg = parser.rargs[0]
|
arg = parser.rargs[0]
|
||||||
print 'profile_cb: %s (%s)'%(arg, arg[0])
|
|
||||||
if arg[0] != '-':
|
if arg[0] != '-':
|
||||||
print 'profile_cb: Adding argument'
|
|
||||||
if len (value) > 0:
|
if len (value) > 0:
|
||||||
value = '%s %s'%(value, arg)
|
value = '%s %s'%(value, arg)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue