fixed cpdb.py, thanks pasxidis
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.4 (2011-12-17 11:43:18) stable
|
||||
Version 1.99.4 (2011-12-17 12:58:11) stable
|
||||
|
||||
+3
-3
@@ -615,8 +615,8 @@ informix://username:password@test\n\
|
||||
oCopy.sourcedbType=sourceItems[0]
|
||||
oCopy.sourcedbName=sourceItems[1]
|
||||
targetItems=string.split(args.targetConnectionString,'://')
|
||||
oCopy.targetdbType=sourceItems[0]
|
||||
oCopy.targetdbName=sourceItems[1]
|
||||
oCopy.targetdbType=targetItems[0]
|
||||
oCopy.targetdbName=targetItems[1]
|
||||
except Exception, err:
|
||||
print('EXCEPTION: {0}'.format(err))
|
||||
|
||||
@@ -679,4 +679,4 @@ target model: {1}\n\
|
||||
print('EXCEPTION: could not make a copy of the database\n{0}'.format(err))
|
||||
else:
|
||||
s=dalShell()
|
||||
s.shell(db)
|
||||
s.shell(db)
|
||||
|
||||
Reference in New Issue
Block a user