[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src/schema/scripter Scripter.py
From: |
Jason Cater |
Subject: |
gnue/common/src/schema/scripter Scripter.py |
Date: |
Fri, 06 Dec 2002 01:47:00 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/12/06 01:46:58
Modified files:
common/src/schema/scripter: Scripter.py
Log message:
fixed a bug with -o not working
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/schema/scripter/Scripter.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: gnue/common/src/schema/scripter/Scripter.py
diff -c gnue/common/src/schema/scripter/Scripter.py:1.2
gnue/common/src/schema/scripter/Scripter.py:1.3
*** gnue/common/src/schema/scripter/Scripter.py:1.2 Fri Dec 6 01:25:17 2002
--- gnue/common/src/schema/scripter/Scripter.py Fri Dec 6 01:46:58 2002
***************
*** 117,123 ****
else:
vens = vendor.split(',')
! if len(vens) > 1 and not os.path.isdir(output ):
self.handleStartupError('--output cannot reference a file '
'if multiple vendors are specified.')
--- 117,123 ----
else:
vens = vendor.split(',')
! if len(vens) > 1 and (output and not os.path.isdir(output)):
self.handleStartupError('--output cannot reference a file '
'if multiple vendors are specified.')
***************
*** 136,142 ****
if not output:
outfile = self.getVendorName(ven) + '.sql'
elif os.path.isdir(output):
! outfile = os.path.join(self.getVendorName(ven) + '.sql')
else:
outfile = output
--- 136,142 ----
if not output:
outfile = self.getVendorName(ven) + '.sql'
elif os.path.isdir(output):
! outfile = os.path.join(output, self.getVendorName(ven) + '.sql')
else:
outfile = output
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/common/src/schema/scripter Scripter.py,
Jason Cater <=