diff --git a/pixelrebel/helper.py b/pixelrebel/helper.py index 6400bcf..99b388f 100644 --- a/pixelrebel/helper.py +++ b/pixelrebel/helper.py @@ -1,3 +1,4 @@ +import datetime from email.mime.application import MIMEApplication from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText @@ -20,9 +21,7 @@ def normalize(v): ''' def commas(x): if type(x) not in [type(0), type(0L)]: - #raise TypeError("Parameter must be an integer.") - # Don't Raise Error, instead just pass string through - return str(x) + raise TypeError("Parameter must be an integer.") if x < 0: return '-' + commas(-x) result = '' diff --git a/setup.py b/setup.py index 54911f3..8bcac6e 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,12 @@ setup( name = 'pixelrebel', packages = ['pixelrebel'], - version = '0.0.5', + version = '0.0.6', description = 'A helper library of common snippets.', author = 'Pixel Rebel', author_email = 'github@pixelrebel.com', url = 'https://github.com/pixelrebel/pypixelrebel', - download_url = 'https://github.com/pixelrebel/pypixelrebel/tarball/v0.0.5', + download_url = 'https://github.com/pixelrebel/pypixelrebel/tarball/v0.0.6', keywords = ['helper', 'helpers'], classifiers = [], ) \ No newline at end of file