~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/schema/tracker/__init__.py

  • Committer: Marc Tardif
  • Date: 2011-09-14 01:25:40 UTC
  • Revision ID: marc.tardif@canonical.com-20110914012540-1gs255vhv6kb0mg4
Added updating of submissions periodically.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
from lpresults.hardware import schema as hardware
11
11
from lpresults.registry import schema as registry
12
 
from lpresults.services import schema as services
 
12
from lpresults.scripts import schema as scripts
13
13
 
14
14
 
15
15
def unique_seen(iterable):
27
27
    # Add aliased store schemas
28
28
    return ZSchema(
29
29
        unique_seen(
30
 
            registry.CREATES + services.CREATES + hardware.CREATES + CREATES),
31
 
        unique_seen(
32
 
            DROPS + hardware.DROPS + services.DROPS + registry.DROPS),
33
 
        unique_seen(
34
 
            DELETES + hardware.DELETES + services.DELETES + registry.DELETES),
 
30
            registry.CREATES + scripts.CREATES + hardware.CREATES + CREATES),
 
31
        unique_seen(
 
32
            DROPS + hardware.DROPS + scripts.DROPS + registry.DROPS),
 
33
        unique_seen(
 
34
            DELETES + hardware.DELETES + scripts.DELETES + registry.DELETES),
35
35
        patch_package)
36
36
 
37
37