0001-convert-to-sql-make-sure-port-number-is-saved-as-an-.patch
wcs/ctl/convertsql.py | ||
---|---|---|
72 | 72 |
from wcs.formdef import FormDef |
73 | 73 |
from wcs import sql |
74 | 74 | |
75 |
if sub_options.port: |
|
76 |
sub_options.port = int(sub_options.port) |
|
77 | ||
75 | 78 |
pub.cfg['postgresql'] = { |
76 | 79 |
'database': sub_options.dbname, |
77 | 80 |
'user': sub_options.user, |
78 |
- |