Modify ↓
#3148 closed enhancement (fixed)
[PATCH] Create main() function so script can be called from python modules
| Reported by: | alberto@… | Owned by: | pacopablo |
|---|---|---|---|
| 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 5 years ago by alberto@…
comment:1 Changed 5 years ago by pacopablo
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.


The patch