remove unused pushChanges
This commit is contained in:
parent
f6cfb255a6
commit
78e48e65bd
4 changed files with 0 additions and 37 deletions
10
oml/nodes.py
10
oml/nodes.py
|
|
@ -283,16 +283,6 @@ class Node(Thread):
|
|||
r = Changelog.apply_changes(u, changes)
|
||||
return r
|
||||
|
||||
def pushChanges(self, changes):
|
||||
logger.debug('pushing changes to %s %s', self.user_id, changes)
|
||||
if self.online:
|
||||
try:
|
||||
r = self.request('pushChanges', changes)
|
||||
except:
|
||||
self.online = False
|
||||
r = False
|
||||
logger.debug('pushedChanges %s %s', r, self.user_id)
|
||||
|
||||
def peering(self, action):
|
||||
with db.session():
|
||||
u = user.models.User.get_or_create(self.user_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue