fixed cpdb.py, thanks pasxidis

This commit is contained in:
Massimo Di Pierro committed 2011-12-17 12:58:25 -06:00
1 parent 842f8ec2b2
commit 34461c0ee1
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -615,8 +615,8 @@ informix://username:password@test\n\
oCopy.sourcedbType=sourceItems[0] oCopy.sourcedbType=sourceItems[0]
oCopy.sourcedbName=sourceItems[1] oCopy.sourcedbName=sourceItems[1]
targetItems=string.split(args.targetConnectionString,'://') targetItems=string.split(args.targetConnectionString,'://')
oCopy.targetdbType=sourceItems[0] oCopy.targetdbType=targetItems[0]
oCopy.targetdbName=sourceItems[1] oCopy.targetdbName=targetItems[1]
except Exception, err: except Exception, err:
print('EXCEPTION: {0}'.format(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)) print('EXCEPTION: could not make a copy of the database\n{0}'.format(err))
else: else:
s=dalShell() s=dalShell()
s.shell(db) s.shell(db)