Skip to content

Commit

Permalink
Update pragma declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
sallner committed May 13, 2020
1 parent 06d1a0c commit 4ea22b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/zope/mkzeoinstance/__init__.py
Expand Up @@ -46,7 +46,7 @@

try:
text_type = unicode
except NameError: # pragma: NO COVER Py3k
except NameError: # pragma: nocover Py3k
text_type = str


Expand Down Expand Up @@ -186,10 +186,10 @@ def run(self, argv,
):
try:
opts, args = getopt.getopt(argv, "h", ["help"])
except getopt.error as msg: # pragma: NO COVER
except getopt.error as msg: # pragma: nocover
usage(msg, 1)

for k, v in opts: # pragma: NO COVER
for k, v in opts: # pragma: nocover
if k in ('-h', '--help'):
usage(rc=2)

Expand Down Expand Up @@ -265,6 +265,6 @@ def makexfile(template, *args, **kwds):
return path


def main(): # pragma: NO COVER
def main(): # pragma: nocover
ZEOInstanceBuilder().run(sys.argv[1:])
print_("All done.")

0 comments on commit 4ea22b6

Please sign in to comment.