1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-08 21:18:00 +03:00

Merge remote-tracking branch 'origin/v1.9'

This commit is contained in:
Adolfo Gómez García 2015-11-18 14:59:20 +01:00
commit 66d2c63a20
2 changed files with 9 additions and 7 deletions

View File

@ -151,7 +151,8 @@ class UDSClient(QtGui.QMainWindow):
script = data['result'].decode('base64').decode('bz2')
self.ui.progressBar.setValue(100)
# self.showMinimized()
if 'darwin' in sys.platform:
self.showMinimized()
QtCore.QTimer.singleShot(3000, self.endScript)
self.hide()

View File

@ -55,7 +55,7 @@ from uds.models.Util import getSqlDatetime
from datetime import timedelta
import logging
__updated__ = '2015-11-16'
__updated__ = '2015-11-18'
logger = logging.getLogger(__name__)
@ -228,11 +228,12 @@ class DeployedService(UUIDModel):
A background worker will check for removed deloyed services and clean database of them.
'''
self.transports.clear()
self.assignedGroups.clear()
self.osmanager = None
self.service = None
self.setState(State.REMOVED)
# self.transports.clear()
# self.assignedGroups.clear()
# self.osmanager = None
# self.service = None
# self.setState(State.REMOVED)
self.delete()
def markOldUserServicesAsRemovables(self, activePub):
'''