Commits

Anonymous committed 408877b

some changes made to version.py

Comments (0)

Files changed (1)

quickly/quickly/version.py

+""" Version information """
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # Copyright 2009 Didier Roche
 import os
 import sys
 import gettext
+import quicklyconfig, tools
 from gettext import gettext as _
 
-import quicklyconfig, tools
-
 gettext.textdomain('quickly')
 
 def show_version():
     try:
         quickly_data_path = tools.get_quickly_data_path()
     except tools.data_path_not_found, invalid_data_path:
-        quickly_data_path = (_("No quickly data path found in %s.") % invalid_data_path)
+        quickly_data_path = (_("No quickly data path found in %s.") \
+                              % invalid_data_path)
     try:
-        template_directories = "\n          ".join(tools.get_template_directories())
+        #space = "\n          "
+        space = "\n" + " "*10
+        template_directories = space.join(tools.get_template_directories())
     except tools.template_path_not_found:
         template_directories = _("No template found.")
     
 quickly comes with ABSOLUTELY NO WARRANTY. quickly is free software, and
 you may use, modify and redistribute it under the terms of the GNU
 General Public License version 3 or later.""") % (
-    quicklyconfig.__version__, sys.executable, ".".join([str(x) for x in sys.version_info[0:3]]),
+    quicklyconfig.__version__, sys.executable, 
+    ".".join([str(x) for x in sys.version_info[0:3]]),
     os.path.dirname(os.__file__), os.path.dirname(__file__), quickly_data_path,
     template_directories)