Bug #2089

pithos-sh create error

Added by Kostas Papadimitriou over 11 years ago. Updated over 10 years ago.

Status:Closed Start date:02/22/2012
Priority:High Due date:
Assignee:- % Done:

100%

Category:Pithos Spent time: -
Target version:-

Description

kpap@kpap-edet:~/projects/pithos/pithos
[packaging]: pithos-sh create images
Traceback (most recent call last):
File "/home/kpap/venvs/pithos/bin/pithos-sh", line 9, in <module>
load_entry_point('snf-pithos-tools==0.9.0-29', 'console_scripts', 'pithos-sh')()
File "/home/kpap/projects/pithos/pithos/snf-pithos-tools/pithos/tools/sh.py", line 778, in main
cmd = cls(name, argv[2:])
File "/home/kpap/projects/pithos/pithos/snf-pithos-tools/pithos/tools/sh.py", line 83, in __init__
self.add_options(parser)
File "/home/kpap/projects/pithos/pithos/snf-pithos-tools/pithos/tools/sh.py", line 232, in add_options
parser.add_option('--versioning', action='store', dest=policy['versioning'],
NameError: global name 'policy' is not defined

Associated revisions

Revision 93abb8b2
Added by Antony Chazapis over 11 years ago

Fix policy option in create container.

Fixes #2089

Revision 93abb8b2
Added by Antony Chazapis over 11 years ago

Fix policy option in create container.

Fixes #2089

History

#1 Updated by Kostas Papadimitriou over 11 years ago

the following patch seems to fix the error

https://gist.github.com/1884440

#2 Updated by Antony Chazapis over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#3 Updated by Vangelis Koukis over 10 years ago

  • Project changed from Pithos to Synnefo
  • Target version deleted (0.9.1)

#4 Updated by Vangelis Koukis over 10 years ago

  • Category set to Pithos

Also available in: Atom PDF