pycloudsigma icon indicating copy to clipboard operation
pycloudsigma copied to clipboard

Fix set_ssh_keys.py

Open tuladhar opened this issue 10 years ago • 1 comments

Please review following changes:

  • Fix get_permission() call to return permission string of given argument path. Also make use of st_mode attribute which removes need to import stats module to make code shorter and simpler.
  • Fix permission checking if statement which always returns False as get_permission() call returns permission string and we're checking against octal permission value.

tuladhar avatar Feb 23 '15 08:02 tuladhar

LGTM. @ntassev, can you take a look?

vpetersson avatar Feb 23 '15 18:02 vpetersson

It was merged on https://github.com/cloudsigma/pycloudsigma/pull/17.

jjlopez avatar Aug 13 '24 02:08 jjlopez