Permalink
Browse files

Merge pull request #4 from iron-io/remove-file_exists

Remove unused file_exists function
  • Loading branch information...
Paddy Foran
Paddy Foran committed Mar 9, 2012
2 parents df74fd9 + f42de8e commit 3ae18e59f75afae6e3f6fbee94b0bbbff829a417
Showing with 0 additions and 10 deletions.
  1. +0 −10 iron_mq.py
View
@@ -4,16 +4,6 @@
import ConfigParser
-def file_exists(file):
- """Check if a file exists."""
- try:
- open(file)
- except IOError:
- return False
- else:
- return True
-
-
class IllegalArgumentException(Exception):
def __init__(self, message):
self.message = message

0 comments on commit 3ae18e5

Please sign in to comment.