~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/entitlements-to-lp.py

Working sketch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
import logging
10
10
import sys
11
11
 
 
12
from lp.services.scripts.base import LaunchpadScript
12
13
from lp.registry.scripts.entitlement import (
13
 
    EntitlementExchange,
14
 
    EntitlementImporter,
15
 
    )
16
 
from lp.services.scripts.base import LaunchpadScript
 
14
    EntitlementExchange, EntitlementImporter)
17
15
 
18
16
 
19
17
class ImportEntitlementsScript(LaunchpadScript):
79
77
 
80
78
if __name__ == '__main__':
81
79
    script = ImportEntitlementsScript(
82
 
        'lp.services.scripts.entitlements')
 
80
        'canonical.launchpad.scripts.entitlements')
83
81
    script.run()