View | Details | Raw Unified | Return to bug 32255
Collapse All | Expand All

(-)/usr/lib/pymodules/python2.6/univention/management/console/protocol/server.py.orig (-2 / +6 lines)
Lines 437-444 Link Here
437
					self.__realsocket.bind( self.__unix )
437
					self.__realsocket.bind( self.__unix )
438
					# restore old umask
438
					# restore old umask
439
					os.umask( old_umask )
439
					os.umask( old_umask )
440
				except:
440
				except Exception, e:
441
					os.unlink( self.__unix )
441
					CRYPT.error('Setting up connection to socket %s failed: %s' % (self.__unix, e))
442
					try:
443
						os.unlink( self.__unix )
444
					except OSError, oserror:
445
						pass
442
			else:
446
			else:
443
				self.__realsocket.bind( ( '', self.__port ) )
447
				self.__realsocket.bind( ( '', self.__port ) )
444
			CRYPT.info(  'Server listening to connections' )
448
			CRYPT.info(  'Server listening to connections' )

Return to bug 32255