]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
cinder-rtstool imports a not existing module
authorAttila Fazekas <afazekas@redhat.com>
Tue, 11 Mar 2014 20:25:45 +0000 (21:25 +0100)
committerAttila Fazekas <afazekas@redhat.com>
Tue, 11 Mar 2014 22:36:57 +0000 (23:36 +0100)
cinder.openstack.common.gettextutils should be imported
in cinder-rtstool instead of gettextutils.

Change-Id: I6ce047100c967d72dc31ced0903bc4ad38fecaa4

bin/cinder-rtstool

index 6cbf44472b785e203f650660ff833f40b9778132..057d1718872e4a3f5c86c295b8bad9559f866a33 100755 (executable)
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 
-import gettextutils
 import re
 import sys
 
 import rtslib
 
+from cinder.openstack.common import gettextutils
 gettextutils.enable_lazy()
 gettextutils.install('cinder-rtstool', lazy=True)