Skip to content

Commit

Permalink
fix invalid string
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Aug 21, 2014
1 parent 8dd4aa8 commit 1f274d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exaproxy/util/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__ (self,configuration):
resource.setrlimit(resource.RLIMIT_NOFILE, (wanted_limit, hard_limit))

except (resource.error,ValueError),e:
self.log.warning('problem when trying to increase resource limit : ' % str(e))
self.log.warning('problem when trying to increase resource limit : %s' % str(e))

soft,hard = resource.getrlimit(resource.RLIMIT_NOFILE)
if soft < self.nb_descriptors:
Expand Down

0 comments on commit 1f274d5

Please sign in to comment.