~brendan-donegan/checkbox/bug1196531

« back to all changes in this revision

Viewing changes to plainbox/plainbox/impl/provider.py

  • Committer: Tarmac
  • Author(s): Zygmunt Krynicki
  • Date: 2013-06-21 14:14:16 UTC
  • mfrom: (2199.1.11 launchpad/misc)
  • Revision ID: tarmac-20130621141416-hv12juje6qdwfbes
"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
1
2
# This file is part of Checkbox.
2
3
#
3
4
# Copyright 2013 Canonical Ltd.
72
73
    """
73
74
 
74
75
    @abc.abstractproperty
 
76
    def name(self):
 
77
        """
 
78
        name of this provider
 
79
 
 
80
        This name should be dbus-friendly. It should not be localizable.
 
81
        """
 
82
 
 
83
    @abc.abstractproperty
75
84
    def CHECKBOX_SHARE(self):
76
85
        """
77
86
        Return the required value of CHECKBOX_SHARE environment variable.
134
143
                job._checkbox = self
135
144
 
136
145
    @property
 
146
    def name(self):
 
147
        return self._extras.get('name', "dummy")
 
148
 
 
149
    @property
137
150
    def CHECKBOX_SHARE(self):
138
151
        return self._extras.get('CHECKBOX_SHARE', "")
139
152