Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias Import alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str orelse If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore Call AttributeLoad Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str attr NameLoad If UnaryOpNot NameLoad body Return Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str Assign NameStore BinOpAdd Str NameLoad TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body For NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If CompareNotIn Str Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad NameLoad For NameStore NameLoad body TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Index Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad decorator_list AttributeLoad NameLoad attr decorator_list
N/A bulk_update.helper bulk_update collections Counter datetime datetime django.contrib.auth.models User django.core.management.base BaseCommand CommandError django.db transaction django.utils timezone pontoon.base.models Translation Project Locale N/A requests Command N/A BaseCommand N/A N/A help Import translation authors and dates from Verbatim. add_arguments N/A N/A self parser N/A N/A N/A N/A N/A parser add_argument --project action store dest project help Project slug to import Verbatim data to N/A N/A N/A parser add_argument --locale action store dest locale help Locale code to import Verbatim data to N/A handle N/A N/A self N/A args options N/A N/A locale N/A options N/A locale N/A project N/A options N/A project N/A N/A N/A project N/A locale N/A N/A N/A CommandError You must provide a project or a locale. N/A N/A N/A project locale N/A N/A N/A N/A self handle_project_locale project locale N/A N/A project N/A N/A locales N/A N/A N/A N/A N/A N/A Project objects get slug project locales all N/A locale locales N/A N/A N/A N/A self handle_project_locale project N/A locale code N/A N/A locale N/A N/A projects N/A N/A N/A N/A N/A N/A Locale objects get code locale project_set all N/A project projects N/A N/A N/A N/A self handle_project_locale N/A project slug locale N/A handle_project_locale N/A N/A self project locale N/A N/A N/A pootle_locale N/A N/A locale replace - _ N/A N/A pootle_locale ga_IE N/A N/A pootle_locale ga N/A pootle_project N/A N/A N/A amo find-my-device firefox-accounts firefox-accounts-payments firefox-hello firefox-input marketplace marketplace-commbadge marketplace-fireplace marketplace-spartacus marketplace-stats marketplace-zippy master-firefox-os mdn mozillians social-api-directory sumo amo findmydevice accounts payments loop input marketplace commbadge fireplace spartacus marketplace_stats zippy masterfirefoxos mdn mozillians socialapi-directory sumo get project N/A N/A pootle_project N/A N/A N/A filename N/A N/A N/A pootle_locale _ pootle_project .json N/A url N/A http://svn.mozilla.org/projects/l10n-misc/trunk/pontoon/verbatim/ filename N/A N/A N/A pootle N/A N/A N/A N/A requests get url json N/A N/A N/A ValueError N/A N/A N/A N/A N/A self stdout write N/A N/A --- Skipping missing file {}. format filename N/A paths N/A N/A pootle keys N/A entities N/A N/A strings N/A N/A emails N/A N/A path paths N/A N/A entity N/A N/A N/A pootle N/A path keys N/A N/A N/A N/A entities append entity N/A N/A N/A strings append N/A N/A N/A pootle N/A path N/A entity N/A translation N/A N/A N/A emails append N/A N/A N/A pootle N/A path N/A entity N/A author N/A translations N/A N/A N/A Translation objects filter entity__resource__project__slug project entity__resource__path__in paths entity__string__in entities locale__code locale user None string__in strings N/A users_dict N/A N/A users N/A N/A N/A User objects filter email__in emails N/A missing_users_list N/A N/A locale_translators_map N/A dict N/A N/A N/A Locale objects values_list code translators_group N/A u users N/A N/A N/A users_dict N/A N/A u email u N/A N/A base.can_translate_locale N/A N/A u get_all_permissions N/A N/A N/A N/A N/A u groups add N/A locale_translators_map N/A locale N/A N/A N/A N/A self stdout write N/A N/A Permission granted to user {} to locale: {}. format N/A u email locale N/A users N/A N/A N/A bulk_update users N/A t translations N/A N/A N/A N/A pootle_translation N/A N/A pootle N/A N/A N/A N/A t entity resource path N/A N/A N/A t entity string N/A N/A N/A KeyError N/A N/A N/A email N/A pootle_translation N/A author N/A user N/A N/A users_dict get email N/A N/A user N/A N/A N/A N/A missing_users_list append email N/A N/A t user user N/A N/A t approved_user user N/A date N/A N/A N/A N/A pootle_translation N/A date split + N/A 0 N/A dateObj N/A N/A timezone make_aware N/A N/A datetime strptime date %Y-%m-%d %H:%M:%S N/A N/A t date dateObj N/A N/A t approved_date dateObj N/A translations N/A N/A N/A bulk_update translations N/A missing_users N/A Counter missing_users_list N/A missing_user N/A N/A missing_users keys N/A N/A N/A N/A N/A self stdout write N/A N/A Pontoon user {} not found: {} translations. format missing_user N/A missing_users N/A missing_user N/A N/A N/A N/A self stdout write N/A N/A +++ Imported data from file {}. format filename N/A N/A transaction atomic N/A