Skip to content

Commit

Permalink
Removing some print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Ransom committed Jan 5, 2012
1 parent adae9c5 commit fa2c36c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cms_themes/__init__.py
@@ -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):
Expand All @@ -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

Expand Down Expand Up @@ -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.