Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP8 fixes on codebase #309

Open
wants to merge 43 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ef39bac
Bump version to 0.16
cstavr Nov 11, 2014
796c732
PEP8 fixes on ci directory
vgerak Nov 12, 2014
be2e9ed
PEP8 fixes on contrib/snf-pithos-tools directory
vgerak Nov 12, 2014
c2c090e
PEP8 fixes on contrib directory
vgerak Nov 12, 2014
4a0c07e
PEP8 fixes on conf directory
vgerak Nov 12, 2014
ac01bdb
PEP8 fixes on snf-admin-app directory
vgerak Nov 12, 2014
fa80446
PEP8 fixes on snf-astakos-app/astakos/im/migrations directory
vgerak Nov 12, 2014
161d6ac
PEP8 fixes on snf-astakos-app/astakos/admin directory
vgerak Nov 12, 2014
c7a2b07
PEP8 fixes on snf-astakos-app/astakos/api directory
vgerak Nov 12, 2014
0cce468
PEP8 fixes on snf-astakos-app/astakos/im directory
vgerak Nov 12, 2014
e4cd1ae
PEP8 fixes on snf-astakos-app/astakos/oa2 directory
vgerak Nov 12, 2014
0c2ddb1
PEP8 fixes on snf-astakos-app/astakos/quotaholder_app directory
vgerak Nov 12, 2014
5d61b92
PEP8 fixes on snf-astakos-app/astakos directory
vgerak Nov 12, 2014
cbbc3da
PEP8 fixes on snf-branding directory
vgerak Nov 12, 2014
194284e
PEP8 fixes on snf-common directory
vgerak Nov 12, 2014
5cbf36c
PEP8 fixes on snf-cyclades-app/synnefo/admin directory
vgerak Nov 12, 2014
ffc2a65
PEP8 fixes on snf-cyclades-app/synnefo/api directory
vgerak Nov 12, 2014
cab279c
PEP8 fixes on snf-cyclades-app/synnefo/app_settings directory
vgerak Nov 12, 2014
c14ec94
PEP8 fixes on snf-cyclades-app/synnefo/db directory
vgerak Nov 12, 2014
e3c21dd
PEP8 fixes on snf-cyclades-app/synnefo/helpdesk directory
vgerak Nov 12, 2014
669c733
PEP8 fixes on snf-cyclades-app/synnefo/logic directory
vgerak Nov 12, 2014
7acaf0f
PEP8 fixes on snf-cyclades-app/synnefo/quotas directory
vgerak Nov 12, 2014
b4f3a45
PEP8 fixes on snf-cyclades-app/synnefo/ui directory
vgerak Nov 12, 2014
05078ef
PEP8 fixes on snf-cyclades-app/synnefo/userdata directory
vgerak Nov 12, 2014
5e8f67b
PEP8 fixes on snf-cyclades-app/synnefo/vmapi directory
vgerak Nov 12, 2014
161fd86
PEP8 fixes on snf-cyclades-app/synnefo/volume directory
vgerak Nov 12, 2014
d0c62a4
PEP8 fixes on snf-cyclades-app directory
vgerak Nov 12, 2014
5d4362f
PEP8 fixes on snf-cyclades-gtools directory
vgerak Nov 12, 2014
b3ae78b
PEP8 fixes on snf-deploy directory
vgerak Nov 12, 2014
1ffbe14
PEP8 fixes on snf-django-lib directory
vgerak Nov 12, 2014
59e75f8
PEP8 fixes on snf-pithos-app directory
vgerak Nov 12, 2014
6f08585
PEP8 fixes on snf-pithos-backend directory
vgerak Nov 12, 2014
f67b510
PEP8 fixes on snf-stats-app directory
vgerak Nov 12, 2014
1416a61
PEP8 fixes on snf-tools directory
vgerak Nov 12, 2014
94441f8
PEP8 fixes on snf-webproject directory
vgerak Nov 12, 2014
eba1915
Convert type comparison to isinstance() and fix mistake in test
vgerak Nov 12, 2014
7e6c9af
Convert "condition == False" to "not(condition)"
vgerak Nov 12, 2014
d146733
Fix pythonic expressions in snf-astakos-app/astakos/im directory
vgerak Nov 12, 2014
9948c9b
Fix pythonic expressions in snf-astakos-app/astakos/oa2/tests/simple.py
vgerak Nov 12, 2014
89e9e4a
Fix pythonic expressions in snf-common/synnefo/util/entry_points.py
vgerak Nov 12, 2014
f23389e
Fix pythonic expressions in snf-cyclades-app/synnefo directory
vgerak Nov 12, 2014
18554c4
Fix pythonic expressions in snf-django-lib directory
vgerak Nov 12, 2014
4d3f155
Fix pythonic expressions in snf-pithos-backend directory
vgerak Nov 12, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix pythonic expressions in snf-common/synnefo/util/entry_points.py
  • Loading branch information
vgerak committed Nov 13, 2014
commit 89e9e4a905d844ff3a3c5ddddfde3d6aee26376d
4 changes: 2 additions & 2 deletions snf-common/synnefo/util/entry_points.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
def get_entry_points(ns, name):
for entry_point in pkg_resources.iter_entry_points(group=ns):
if entry_point.name == name and \
not entry_point.dist.project_name in EXCLUDED_PACKAGES:
entry_point.dist.project_name not in EXCLUDED_PACKAGES:
yield entry_point


@@ -109,7 +109,7 @@ def extend_list_from_entry_point(settings_object, ns, entry_point_name,
inserts = [inserts]

for entry in inserts:
if not entry in settings_object:
if entry not in settings_object:
settings_object.insert(insert_at, entry)
insert_at = insert_at + 1
else: