|
|
@ -527,9 +527,10 @@ def pathJoin(*paths):
|
|
|
|
if len(paths)==1:
|
|
|
|
if len(paths)==1:
|
|
|
|
return paths[0]
|
|
|
|
return paths[0]
|
|
|
|
return os.path.join(paths[0],
|
|
|
|
return os.path.join(paths[0],
|
|
|
|
reduce(os.path.join,
|
|
|
|
reduce(os.path.join,
|
|
|
|
map(lambda x: x.startswith("/") and x[1:] or x,
|
|
|
|
filter(lambda x:x and x != "/",
|
|
|
|
paths[1:]),''))
|
|
|
|
map(lambda x: x.startswith("/") and x[1:] or x,
|
|
|
|
|
|
|
|
paths[1:])),''))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def getUserPassword(flag="dialog", pwDialog=False):
|
|
|
|
def getUserPassword(flag="dialog", pwDialog=False):
|
|
|
|