Modify ↓
#3148 closed enhancement (fixed)
[PATCH] Create main() function so script can be called from python modules
Reported by: | Owned by: | John Hampton | |
---|---|---|---|
Priority: | normal | Component: | SqliteToPgScript |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Attached is a patch that creates a main() function entry point so the script can be easily called programatically from other python modules.
It also "fixes" some accesses to global variable "opts" instead of instance attribute inside MigrateTable which have surfaced when opts is no longer declared in module scope.
Alberto
Attachments (1)
Change History (2)
Changed 16 years ago by
Attachment: | main_ep.diff added |
---|
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The patch