Skip to content

Commit

Permalink
Merge pull request #78 from fermi-ad/data-not-detected
Browse files Browse the repository at this point in the history
Data-not-detected
  • Loading branch information
rneswold authored Feb 15, 2024
2 parents 325dea0 + 267db3f commit d5a5c79
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build ::
build :: clean
python3 setup.py sdist

deploy : build
Expand Down
8 changes: 4 additions & 4 deletions acsys/dpm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def isReadingFor(self, *tags):
warnings.warn(
"deprecated in favor of the snake_case version, is_reading_for",
DeprecationWarning)
return self.is_reading_for
return self.is_reading_for()

def is_reading_for(self, *tags):
"""Returns True if this object is an ItemData object and its 'tag'
Expand All @@ -86,7 +86,7 @@ def isStatusFor(self, *tags):
warnings.warn(
"deprecated in favor of the snake_case version, is_status_for",
DeprecationWarning)
return self.is_status_for
return self.is_status_for()

def is_status_for(self, *tags):
"""Returns True if this object is an ItemStatus object and its 'tag'
Expand Down Expand Up @@ -181,7 +181,7 @@ def isReadingFor(self, *tags):
warnings.warn(
"deprecated in favor of the snake_case version, is_reading_for",
DeprecationWarning)
return self.is_reading_for(tags)
return self.is_reading_for(*tags)

def is_reading_for(self, *tags):
return self.tag in tags
Expand Down Expand Up @@ -233,7 +233,7 @@ def isStatusFor(self, *tags):
warnings.warn(
"deprecated in favor of the snake_case version, is_status_for",
DeprecationWarning)
return self.is_status_for(tags)
return self.is_status_for(*tags)

def is_status_for(self, *tags):
return self.tag in tags
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

setuptools.setup(
name="acsys",
version="0.12.7",
version="0.12.8",
author="Rich Neswold",
author_email="[email protected]",
description="ACSys Client library",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://cdcvs.fnal.gov/redmine/projects/py/wiki/Acsys",
url="https://github.com/fermi-ad/acsys-python",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit d5a5c79

Please sign in to comment.