Skip to content

Commit

Permalink
Issue #132: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdyer committed Apr 8, 2014
1 parent 494ad8a commit 55d81d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fte/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ class NegotiateTimeoutException(Exception):


def fatal_error(msg):
if fte.conf.getValue('runtime.loglevel') >= 1
if fte.conf.getValue('runtime.loglevel') in [1,2,3]:
print 'ERROR:', msg
sys.exit(1)


def warn(msg):
if fte.conf.getValue('runtime.loglevel') >= 2:
if fte.conf.getValue('runtime.loglevel') in [2,3]:
print 'WARN:', msg


def info(msg):
if fte.conf.getValue('runtime.loglevel') >= 3:
if fte.conf.getValue('runtime.loglevel') <= [3]:
print 'INFO:', msg


Expand Down

0 comments on commit 55d81d2

Please sign in to comment.