Skip to content

Commit

Permalink
adjustments for develop and a pylint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grischa committed Feb 9, 2015
1 parent da8c2fa commit 994fb9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -14,4 +14,6 @@ script: "bin/django test && bin/pylint --rcfile=.pylintrc.travis tardis"
after_failure: "cat tardis-test.log"
branches:
except:
- develop
- byebye-buildout
- doc-cleanup
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -61,6 +61,6 @@ New contributors are welcome, however all developers should review the
Code Health Status
------------------

.. image:: https://semaphoreapp.com/api/v1/projects/08628202-28c8-4c67-86bf-eccd88a9828e/345537/shields_badge.svg
:target: https://semaphoreapp.com/grischa/mytardis
.. image:: https://semaphoreapp.com/api/v1/projects/5d21cc89-645b-4793-bd78-cf525a0dcce2/345561/shields_badge.svg
:target: https://semaphoreapp.com/mytardis/mytardis
:alt: Semaphore build status
4 changes: 2 additions & 2 deletions tardis/tardis_portal/search_indexes.py
Expand Up @@ -167,7 +167,7 @@ def index_queryset(self):
return self.model._default_manager.all().defer(None)

class GetDatasetFileParameters(SearchIndex.__metaclass__):
def __new__(mcs, name, bases, attrs):
def __new__(cls, name, bases, attrs):

# dynamically add all the searchable parameter fields
try:
Expand All @@ -178,7 +178,7 @@ def __new__(mcs, name, bases, attrs):
except DatabaseError:
pass

return super(GetDatasetFileParameters, mcs).__new__(mcs, name, bases, attrs)
return super(GetDatasetFileParameters, cls).__new__(cls, name, bases, attrs)

class DatasetFileIndex(RealTimeSearchIndex):

Expand Down

0 comments on commit 994fb9a

Please sign in to comment.