Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tiftran committed Feb 27, 2020
1 parent 72a8d0e commit 488b74a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/experimenter/bugzilla/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def format_summary(experiment):


def create_experiment_bug(experiment):
assigned_to, see_also, blocks = None, None, None
assigned_to, blocks = None, None

if user_exists(experiment.owner.email):
assigned_to = experiment.owner.email
Expand Down
4 changes: 2 additions & 2 deletions app/experimenter/experiments/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def clean(self, value):
return cleaned_value

def get_ds_issue_id(self, bug_url):
ds = re.match("https://jira.mozilla.com/browse/DS-(\w+.*)", bug_url)
do = re.match("https://jira.mozilla.com/browse/DO-(\w+.*)", bug_url)
ds = re.match(r"https://jira.mozilla.com/browse/DS-(\w+.*)", bug_url)
do = re.match(r"https://jira.mozilla.com/browse/DO-(\w+.*)", bug_url)

if ds:
return ds.group(1)
Expand Down
1 change: 0 additions & 1 deletion app/experimenter/experiments/tasks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import decimal

import markus
import requests
from django.contrib.auth import get_user_model
from django.db import IntegrityError, transaction
from django.conf import settings
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/pages/experiment_overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ class ExperimentOverview(Base):
_page_wait_locator = (By.CSS_SELECTOR, "body.page-edit-overview")
_name_locator = (By.CSS_SELECTOR, "#id_name")
_short_description_locator = (By.CSS_SELECTOR, "#id_short_description")
_bugzilla_url_locator = (
_bugzilla_url_locator = (
By.CSS_SELECTOR,
"id_data_science_bugzilla_url",
)
)
_overview_name_locator = (By.CSS_SELECTOR, "#id_name")
_overview_description_locator = (By.CSS_SELECTOR, "#id_short_description")
_overview_bugzilla_url_locator = (By.CSS_SELECTOR, "#id_data_science_bugzilla_url")
Expand Down

0 comments on commit 488b74a

Please sign in to comment.