Part of lp.translations.scripts.reupload_translations View In Hierarchy
| Method | add_my_options | See LaunchpadScript. |
| Method | main | See LaunchpadScript. |
| Method | _commit | Commit transaction (or abort if dry run). |
| Method | _setDistroDetails | Figure out the Distribution/DistroSeries to act upon. |
| Method | _findPackage | Find SourcePackage of given name. |
| Method | _processPackage | Get translations for package re-uploaded. |
Inherited from LaunchpadScript:
| Method | __init__ | Construct new LaunchpadScript. |
| Method | handle_options | Undocumented |
| Method | name | Enable subclasses to override with command-line arguments. |
| Method | dbuser | Enable subclasses to override with command-line arguments. |
| Method | login | Super-convenience method that avoids the import. |
| Method | lockfilename | Return lockfilename. |
| Method | lockfilepath | Undocumented |
| Method | setup_lock | Create lockfile. |
| Method | lock_or_die | Attempt to lock, and sys.exit(1) if the lock's already taken. |
| Method | unlock | Release the lock. Do this before going home. |
| Method | run | Actually run the script, executing zcml and initZopeless. |
| Method | record_activity | Hook to record script activity. |
| Method | lock_and_run | Call lock_or_die(), and then run() the script. |
| Method | _init_zca | Initialize the ZCA, this can be overridden for testing purposes. |
| Method | _init_db | Initialize the database transaction. |