Skip to content

Commit

Permalink
Pid should always return an int
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwight Hubbard committed Apr 17, 2015
1 parent 40eb1d3 commit 01b390e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redislite/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def pid(self):
with open(self.pidfile) as fh:
pid = fh.read().strip()
return int(pid)
return None # pragma: no cover
return 0 # pragma: no cover


class Redis(RedisMixin, redis.Redis):
Expand Down

0 comments on commit 01b390e

Please sign in to comment.