@@ -83,7 +83,6 @@ def delete(self, *args, **kwargs):
8383 self .owner .publish ()
8484
8585
86- @python_2_unicode_compatible
8786class ProviderManager (models .Manager ):
8887 """Manage database interactions for :class:`Provider`."""
8988
@@ -126,7 +125,6 @@ def __str__(self):
126125 return "{}-{}" .format (self .id , self .get_type_display ())
127126
128127
129- @python_2_unicode_compatible
130128class FlavorManager (models .Manager ):
131129 """Manage database interactions for :class:`Flavor`."""
132130
@@ -292,7 +290,6 @@ def destroy(self):
292290 return tasks .destroy_layer .delay (self ).wait ()
293291
294292
295- @python_2_unicode_compatible
296293class NodeManager (models .Manager ):
297294
298295 def new (self , formation , layer , fqdn = None ):
@@ -537,7 +534,6 @@ def run(self, command):
537534 return node .run (command )
538535
539536
540- @python_2_unicode_compatible
541537class ContainerManager (models .Manager ):
542538
543539 def scale (self , app , structure , ** kwargs ):
@@ -733,7 +729,7 @@ def push(cls, push):
733729 # create the build
734730 new_build = cls .objects .create (** push )
735731 # send a release signal
736- release_signal .send (sender = push , build = new_build , app = app , user = user )
732+ release_signal .send (sender = user , build = new_build , app = app , user = user )
737733 # see if we need to scale an initial web container
738734 if len (app .formation .node_set .filter (layer__runtime = True )) > 0 and \
739735 len (app .container_set .filter (type = 'web' )) < 1 :
0 commit comments