equal
deleted
inserted
replaced
75 check_call(cmd) |
75 check_call(cmd) |
76 except CalledProcessError as err: |
76 except CalledProcessError as err: |
77 print "delegation of %s to 'cinder' failed: %s" % (top_ds, err) |
77 print "delegation of %s to 'cinder' failed: %s" % (top_ds, err) |
78 return smf_include.SMF_EXIT_ERR_CONFIG |
78 return smf_include.SMF_EXIT_ERR_CONFIG |
79 |
79 |
80 return smf_include.SMF_EXIT_OK |
80 return int(smf_include.SMF_EXIT_OK) |
81 |
81 |
82 if __name__ == "__main__": |
82 if __name__ == "__main__": |
83 os.putenv("LC_ALL", "C") |
83 os.putenv("LC_ALL", "C") |
84 smf_include.smf_main() |
84 smf_include.smf_main() |