Permalink
Browse files

Removing some print statements

  • Loading branch information...
1 parent adae9c5 commit fa2c36c70bd3cfb2952e30928e39e33fd109955d Mark Ransom committed Jan 5, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 cms_themes/__init__.py
View
@@ -1,10 +1,9 @@
-VERSION = (1,0,7)
-__version__ = "1.0.7"
+VERSION = (1,0,8)
+__version__ = "1.0.8"
import random
import os
def init_themes():
- print 'Initing themes'
if not hasattr(settings, 'THEMES_DIR'):
THEMES_DIR = os.path.join(settings.PROJECT_DIR, 'themes')
if not os.path.exists(THEMES_DIR):
@@ -21,7 +20,6 @@ def init_themes():
setattr(settings, 'DEFAULT_TEMPLATE_DIRS', settings.TEMPLATE_DIRS)
def set_themes():
- print 'Setting themes...'
if not Site.objects.filter(id=settings.SITE_ID):
return
@@ -58,5 +56,5 @@ def set_themes():
init_themes()
set_themes()
except Exception as ex:
- print ex
+ print 'An error occured setting up the themes: %s' % ex

0 comments on commit fa2c36c

Please sign in to comment.