Skip to content

Commit

Permalink
Break the string for pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Azd325 committed Feb 5, 2013
1 parent 06fbca4 commit 3f100ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmsplugin_eviscape/views.py
Expand Up @@ -6,7 +6,8 @@ def get_sent_evis(server, nod_id, limit, evis_type):
"""(Currently) returns a list of dictionaries with keys evis, ref and id.
Returns an empty list in case it could not fetch the data from eviscape."""

json_url = "http://%s/api/1.0/rest/?method=evis.sent&format=json&jsoncallback=?&nod_id=%s&per_page=%s" % (server, nod_id, limit)
json_url = "http://{0}/api/1.0/rest/?method=evis.sent&format=json" \
"&jsoncallback=?&nod_id={1}&per_page={2}".format(server, nod_id, limit)

# quick and dirty
try:
Expand Down

0 comments on commit 3f100ae

Please sign in to comment.