Skip to content

Commit

Permalink
Merge 04de7dc into 596794b
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Jan 8, 2019
2 parents 596794b + 04de7dc commit 084e119
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Expand Up @@ -14,7 +14,8 @@ New features:

Bug fixes:

- *add item here*
- Python 3 compatibility for generated bin/zeopack script
[ajung]


2.0.0 (2018-12-03)
Expand Down
6 changes: 3 additions & 3 deletions src/plone/recipe/zeoserver/recipe.py
Expand Up @@ -390,11 +390,11 @@ def install_scripts(self):
arguments_info += ("import getopt; opts = "
"getopt.getopt(sys.argv[1:], 'S:B:D:W1')[0];\n"
"opts = dict(opts)\n"
"storage = opts.has_key('-S') and "
"storage = opts.get('-S') and "
"opts['-S'] or storage\n"
"blob_dir = opts.has_key('-B') and "
"blob_dir = opts.get('-B') and "
"opts['-B'] or blob_dir\n"
"days = opts.has_key('-D') and "
"days = opts.get('-D') and "
"opts['-D'] or days\n"
)

Expand Down

0 comments on commit 084e119

Please sign in to comment.