Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
flake8 and update setup classifiers to match Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 15, 2014
1 parent 657d876 commit 8a314dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
author='Alex Clark',
author_email='aclark@aclark.net',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
description='Get package download statistics from PyPI',
entry_points={
Expand All @@ -20,7 +25,7 @@
keywords='analytics python package index statistics',
license='GPL',
long_description=(
open('README.rst').read() + '\n' +
open('README.rst').read() + '\n' +
open(os.path.join('CHANGES.rst')).read()
),
name='vanity',
Expand Down
8 changes: 4 additions & 4 deletions vanity.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ def vanity():
if total != 0:
if version:
print(
'%s %s has been downloaded %s times!' % (
package, version, locale.format(
'%s %s has been downloaded %s times!' %
(package, version, locale.format(
"%d", total, grouping=True)))
else:
print(
'%s has been downloaded %s times!' % (
package, locale.format("%d", total, grouping=True)))
'%s has been downloaded %s times!' %
(package, locale.format("%d", total, grouping=True)))
else:
if version:
print('No downloads for %s %s.' % (package, version))
Expand Down

0 comments on commit 8a314dc

Please sign in to comment.