Skip to content

Commit

Permalink
_None() as new style class
Browse files Browse the repository at this point in the history
  • Loading branch information
tpltnt committed Mar 2, 2018
1 parent 1967cd7 commit d5714ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/allmydata/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ def formatTimeTahoeStyle(self, when):
are set to disallow users other than its owner from reading the contents of
the files. See the 'configuration.rst' documentation file for details."""

class _None: # used as a marker in get_config()
class _None(object):
"""
This class is to be used as a marker in get_config()
"""
pass

class MissingConfigEntry(Exception):
Expand Down

0 comments on commit d5714ca

Please sign in to comment.