equal
deleted
inserted
replaced
137 return 1 |
137 return 1 |
138 if other.uri == 'system': |
138 if other.uri == 'system': |
139 return -1 |
139 return -1 |
140 return cmp(self.uri, other.uri) |
140 return cmp(self.uri, other.uri) |
141 |
141 |
142 def backup(self, backupfile, confirm): |
142 def backup(self, backupfile, confirm, format='native'): |
143 """method called to create a backup of source's data""" |
143 """method called to create a backup of source's data""" |
144 pass |
144 pass |
145 |
145 |
146 def restore(self, backupfile, confirm, drop): |
146 def restore(self, backupfile, confirm, drop, format='native'): |
147 """method called to restore a backup of source's data""" |
147 """method called to restore a backup of source's data""" |
148 pass |
148 pass |
149 |
149 |
150 @classmethod |
150 @classmethod |
151 def check_conf_dict(cls, eid, confdict, _=unicode, fail_if_unknown=True): |
151 def check_conf_dict(cls, eid, confdict, _=unicode, fail_if_unknown=True): |