Commits

Anonymous committed 340ca1b

fix misspelling

Comments (0)

Files changed (2)

sape/templatetags/sape_extras.py

         client = context[CLIENT_KEY]
 
         if not self.join:
-            return '\n'.join('<li>%s</li>' % x for x in client.return_links(self.number))
+            return ',\n'.join('<li>%s</li>' % x for x in client.return_links(self.number))
         else:
             return client.return_links(self.number, join=True)
 
         request = context['request']
         try:
             client = build_sape_client(request)
-        except SApeException, ex:
+        except SapeException, ex:
             error = unicode(ex)
         else:
             error = ''
+#!/usr/bin/env python
+from distutils.core import setup
+
+setup_data = {
+      'name': 'sape',
+      'version': '0.1',
+      'author': 'Grigoriy Petukhov',
+      'author_email': 'lizendir@gmail.com',
+      'url': 'http://hg.pydev.ru/sape',
+      'description': 'sape.ru API',
+      'long_description': """Library for communicate with sape.ru""",
+      'packages': ['sape'],
+      'license': "BSD License",
+      'platforms': "All",
+      'classifiers': [
+          'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+          'License :: OSI Approved :: BSD License',
+          'Operating System :: POSIX',
+          'Programming Language :: Python',
+          'Natural Language :: Russian',
+          'Development Status :: 4 - Beta',
+          'Intended Audience :: End Users/Desktop',
+          'Environment :: Web Environment',
+        ],
+    }
+
+setup(**setup_data)