Commit 9d5c3389 authored by Lukas Burgey's avatar Lukas Burgey

Remove some debugging output

parent 16b1480e
......@@ -174,7 +174,6 @@ class NewDeployment(models.Model):
if self.state_items.exists():
_state = ''
for state in self.state_items.all():
LOGGER.debug('FOO: %s', state)
if _state == '':
_state = state.state
elif _state != state.state:
......@@ -202,7 +201,6 @@ class NewDeployment(models.Model):
for service in self.services
]
def create_state_items(self, site=None):
for service in self.services:
LOGGER.debug('create_state_items: creating NewDeploymentStateItem for service %s at sites %s', service, service.site.all())
......@@ -225,7 +223,6 @@ class NewDeployment(models.Model):
service=service,
).save()
@classmethod
def get_deployment(cls, user, service=None, group=None, site=None):
if service is None and group is None:
......@@ -238,14 +235,12 @@ class NewDeployment(models.Model):
user=user,
service=service,
)
LOGGER.debug('service hit')
elif group is not None:
dep = cls.objects.get(
user=user,
group=group,
)
LOGGER.debug('group hit')
return dep
......@@ -269,8 +264,6 @@ class NewDeployment(models.Model):
LOGGER.debug(deployment.msg('created'))
return deployment
def user_deploy(self):
self._set_target('deployed')
for item in self.state_items.all():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment