Changeset 7bd87d
- Timestamp:
- 11/19/2013 10:43:01 PM (11 years ago)
- Children:
- a3806b
- Parents:
- 8bf18d6
- git-author:
- Calum Lind <calumlind+deluge@gmail.com> (11/19/2013 10:11:15 PM)
- git-committer:
- Calum Lind <calumlind+deluge@gmail.com> (11/19/2013 10:43:01 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/gtkui/ipcinterface.py
r8bf18d6 r7bd87d 126 126 lockfile = socket + ".lock" 127 127 log.debug("Checking if lockfile exists: %s", lockfile) 128 if os.path.lexists(lockfile) :128 if os.path.lexists(lockfile) or os.path.lexists(socket): 129 129 try: 130 130 os.kill(int(os.readlink(lockfile)), 0) … … 133 133 try: 134 134 os.remove(lockfile) 135 except OSError, ex: 136 log.error("Failed to delete IPC lockfile file: %s", ex) 137 try: 135 138 os.remove(socket) 136 except Exception, e: 137 log.error("Problem deleting lockfile or socket file!") 138 log.exception(e) 139 except OSError, ex: 140 log.error("Failed to delete IPC socket file: %s", ex) 139 141 try: 140 142 self.factory = Factory()
Note:
See TracChangeset
for help on using the changeset viewer.