Skip to content

Commit

Permalink
Merge pull request #43 from AdricEpic/remove_dead_code
Browse files Browse the repository at this point in the history
Removes unused code
  • Loading branch information
victoriagrey authored Oct 30, 2017
2 parents 8181a5f + 6bc4770 commit 787218a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/shotgunEventDaemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import socket
import sys
import time
import types
import traceback

from distutils.version import StrictVersion
Expand Down Expand Up @@ -326,7 +325,7 @@ def start(self):
self._loadEventIdData()

self._mainLoop()
except KeyboardInterrupt, err:
except KeyboardInterrupt:
self.log.warning('Keyboard interrupt. Cleaning up...')
except Exception, err:
msg = 'Crash!!!!! Unexpected error (%s) in main loop.\n\n%s'
Expand Down Expand Up @@ -878,8 +877,6 @@ def __init__(self, callback, plugin, engine, shotgun, matchEvents=None, args=Non
@param shotgun: The Shotgun instance that will be used to communicate
with your Shotgun server.
@type shotgun: L{sg.Shotgun}
@param logger: An object to log messages with.
@type logger: I{logging.Logger}
@param matchEvents: The event filter to match events against before invoking callback.
@type matchEvents: dict
@param args: Any datastructure you would like to be passed to your
Expand Down

0 comments on commit 787218a

Please sign in to comment.