Skip to content

Commit

Permalink
Replace variable name shadowing builtin input
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Jan 9, 2018
1 parent 6a228c1 commit bed8bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyclarity_lims/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def __init__(self, instance, *args, **kwargs):

def _parse_element(self, element, lims, **kwargs):
from pyclarity_lims.entities import Artifact, Container
input = Artifact(lims, uri=element.attrib['uri'])
input_art = Artifact(lims, uri=element.attrib['uri'])
loc = element.find('location')
location = (None, None)
if loc:
Expand All @@ -760,7 +760,7 @@ def _parse_element(self, element, lims, **kwargs):
# use python 3 for timezone support
qt = qt.split('+')[0]
queue_date = datetime.datetime.strptime(qt, date_format)
list.append(self, (input, queue_date, location))
list.append(self, (input_art, queue_date, location))


# Descriptors: This section contains the object that can be used in entities
Expand Down

0 comments on commit bed8bb9

Please sign in to comment.