-fix errors pointed out by pydev code completion
This commit is contained in:
parent
db4c916d9a
commit
7a7eb02de5
6 changed files with 15 additions and 80 deletions
|
@ -6,7 +6,7 @@ import logging
|
|||
import logging.config
|
||||
import shutil
|
||||
import os
|
||||
import time
|
||||
import sys
|
||||
|
||||
# configure logging
|
||||
logging.config.fileConfig("logging.cfg")
|
||||
|
@ -21,7 +21,7 @@ try:
|
|||
except Exception, e:
|
||||
logger = logging.getLogger()
|
||||
logger.error('Error loading config file: %s', e)
|
||||
sys.exit()
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
class PypoFile(Thread):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue