changeset 41:8ba2f1087880

and a commit following a merge, goody goody...lets get a snack
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 30 Jun 2010 22:33:59 -0700
parents 89f7a8ca965c (current diff) 677e2fe1239c (diff)
children e0e1a339070c
files
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/decoupage/formatters.py	Wed Jun 30 22:33:26 2010 -0700
+++ b/decoupage/formatters.py	Wed Jun 30 22:33:59 2010 -0700
@@ -132,6 +132,10 @@
         for f in data['files']:
             if f['description'] and self.separator in f['description']:
                 title, description = f['description'].split(self.separator, 1)
+                title = title.strip()
+                description = description.strip()
+                if not title:
+                    title = f['name']
                 f['title'] = title
                 f['description'] = description
             else:
--- a/setup.py	Wed Jun 30 22:33:26 2010 -0700
+++ b/setup.py	Wed Jun 30 22:33:59 2010 -0700
@@ -6,7 +6,7 @@
 except IOError:
     description = ''
 
-version = '0.7'
+version = '0.7.1'
 
 setup(name='decoupage',
       version=version,
@@ -15,8 +15,8 @@
       classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
       author='Jeff Hammel',
       author_email='k0scist@gmail.com',
-      url='http://explosivedecompression.net',
-      license="",
+      url='http://k0s.org',
+      license="GPL",
       packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
       include_package_data=True,
       zip_safe=False,