[copr] master: W: 42, 0: Anomalous backslash in string: '\o'. String constant might be missing an r prefix. (anomalous-backslash-in-string) (34942b8)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 34942b8417d7a25b59badf5b1ee4271b06c79d11
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Oct 3 14:49:53 2014 +0200
W: 42, 0: Anomalous backslash in string: '\o'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
>---------------------------------------------------------------
python/copr/client/client.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/python/copr/client/client.py b/python/copr/client/client.py
index 77b294a..183f153 100644
--- a/python/copr/client/client.py
+++ b/python/copr/client/client.py
@@ -40,7 +40,7 @@ from .parsers import fabric_simple_fields_parser, ProjectListParser, \
"""
# or
"""
- "No api login and\or api token are provided"
+ "No api login and/or api token are provided"
"See man copr-cli for more information")
"""
9 years, 7 months
[copr] master: unused import sa (fe3594b)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit fe3594b9c0d217e7bd438bc91269a7e97ef552e8
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Sep 10 12:08:46 2014 +0200
unused import sa
>---------------------------------------------------------------
.../alembic/versions/20140423001_add_indexes.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/frontend/coprs_frontend/alembic/versions/20140423001_add_indexes.py b/frontend/coprs_frontend/alembic/versions/20140423001_add_indexes.py
index a6c698d..d409771 100644
--- a/frontend/coprs_frontend/alembic/versions/20140423001_add_indexes.py
+++ b/frontend/coprs_frontend/alembic/versions/20140423001_add_indexes.py
@@ -11,7 +11,6 @@ revision = '20140423001'
down_revision = '5845661bb37d'
from alembic import op
-import sqlalchemy as sa
def upgrade():
9 years, 7 months
[copr] master: W: 3, 0: Unused import urlparse (unused-import) (6c9f8a4)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 6c9f8a45a86833b71f870a621bd01491519b29d6
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Sep 10 12:13:02 2014 +0200
W: 3, 0: Unused import urlparse (unused-import)
>---------------------------------------------------------------
.../coprs/views/recent_ns/recent_general.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py b/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py
index d0d9ec3..51ec698 100644
--- a/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py
+++ b/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py
@@ -1,6 +1,5 @@
import flask
-from urlparse import urlparse
from . import recent_ns
from coprs.logic import builds_logic
from coprs import helpers
9 years, 7 months
[copr] master: remove forgotten debug statement (35a4c5f)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 35a4c5f2427bd5033889c91cf748d7e94fb65c11
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Oct 3 14:55:49 2014 +0200
remove forgotten debug statement
>---------------------------------------------------------------
cli/copr_cli/main.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/cli/copr_cli/main.py b/cli/copr_cli/main.py
index 602e2f3..a016161 100644
--- a/cli/copr_cli/main.py
+++ b/cli/copr_cli/main.py
@@ -40,7 +40,6 @@ class Commands(object):
"copr_url": "http://copr.fedoraproject.org",
"no_config": True
})
- #print("BBBBBBBBBBBBB")
def requires_api_auth(func):
""" Decorator that checks config presence
9 years, 7 months
[copr] master: W: 3, 0: Unused import wraps (unused-import) (fd2863d)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit fd2863dc767dcbe2255b38f3d0f7f58048020fe7
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Sep 10 09:31:02 2014 +0200
W: 3, 0: Unused import wraps (unused-import)
>---------------------------------------------------------------
backend/backend/callback.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/backend/backend/callback.py b/backend/backend/callback.py
index 937cd3e..3932ccd 100644
--- a/backend/backend/callback.py
+++ b/backend/backend/callback.py
@@ -1,6 +1,5 @@
import json
import requests
-from functools import wraps
import time
9 years, 7 months
[copr] master: W: 6, 0: Unused import helpers (unused-import) (e34cccf)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit e34cccfd8d32b5f1b7aea6f860bec33bf00694a9
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Sep 10 12:13:22 2014 +0200
W: 6, 0: Unused import helpers (unused-import)
>---------------------------------------------------------------
.../coprs/views/recent_ns/recent_general.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py b/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py
index 51ec698..75eb6b4 100644
--- a/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py
+++ b/frontend/coprs_frontend/coprs/views/recent_ns/recent_general.py
@@ -2,7 +2,6 @@ import flask
from . import recent_ns
from coprs.logic import builds_logic
-from coprs import helpers
import logging
log = logging.getLogger(__name__)
9 years, 7 months
[copr] master: C: 80, 0: Trailing whitespace (trailing-whitespace) (c48473f)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit c48473f69eaf65d73e85188ec7b89f51f171bf22
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Sep 10 09:31:30 2014 +0200
C: 80, 0: Trailing whitespace (trailing-whitespace)
>---------------------------------------------------------------
backend/backend/callback.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/backend/backend/callback.py b/backend/backend/callback.py
index 3932ccd..0172ebc 100644
--- a/backend/backend/callback.py
+++ b/backend/backend/callback.py
@@ -77,4 +77,3 @@ class FrontendCallback(object):
raise requests.RequestException("Bad respond from the frontend")
return response.json()["can_start"]
-
9 years, 7 months
[copr] master: W: 1, 0: Unused import os (unused-import) (35576e8)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 35576e83cb1a32a36e707f5b84fdb6af9f013ab3
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Sep 10 12:03:45 2014 +0200
W: 1, 0: Unused import os (unused-import)
>---------------------------------------------------------------
.../coprs/views/status_ns/status_general.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/views/status_ns/status_general.py b/frontend/coprs_frontend/coprs/views/status_ns/status_general.py
index eb0e103..9244a2a 100644
--- a/frontend/coprs_frontend/coprs/views/status_ns/status_general.py
+++ b/frontend/coprs_frontend/coprs/views/status_ns/status_general.py
@@ -1,4 +1,4 @@
-import flask, os
+import flask
from urlparse import urlparse
from coprs.views.status_ns import status_ns
9 years, 7 months
[copr] master: C:238, 0: Exactly one space required around assignment (2be4776)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 2be477608ad03c8c9c0a5de958b2ab0eab6dc94c
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Sep 10 09:20:15 2014 +0200
C:238, 0: Exactly one space required around assignment
>---------------------------------------------------------------
backend/backend/dispatcher.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/backend/dispatcher.py b/backend/backend/dispatcher.py
index eb6b21b..a5f6293 100644
--- a/backend/backend/dispatcher.py
+++ b/backend/backend/dispatcher.py
@@ -233,7 +233,7 @@ class Worker(multiprocessing.Process):
# Ansible playbook python API does not work here, dunno why. See:
# https://groups.google.com/forum/#!topic/ansible-project/DNBD2oHv5k8
- command="{0} {1}".format(ansible_playbook, args)
+ command = "{0} {1}".format(ansible_playbook, args)
for i in range(0, attempts):
try:
9 years, 7 months