18523474 cinder-volume-setup SMF method needs int() cast for exit code s11-update
authorDrew Fisher <drew.fisher@oracle.com>
Sat, 05 Apr 2014 19:21:02 -0700
branchs11-update
changeset 3050 b32b8b41ab85
parent 3049 64dc23b0ff81
child 3053 60a045d209ef
18523474 cinder-volume-setup SMF method needs int() cast for exit code
components/openstack/cinder/files/cinder-volume-setup
--- a/components/openstack/cinder/files/cinder-volume-setup	Fri Apr 04 21:11:46 2014 -0700
+++ b/components/openstack/cinder/files/cinder-volume-setup	Sat Apr 05 19:21:02 2014 -0700
@@ -77,7 +77,7 @@
         print "delegation of %s to 'cinder' failed:  %s" % (top_ds, err)
         return smf_include.SMF_EXIT_ERR_CONFIG
 
-    return smf_include.SMF_EXIT_OK
+    return int(smf_include.SMF_EXIT_OK)
 
 if __name__ == "__main__":
     os.putenv("LC_ALL", "C")