Fix invalid reference to os.path.mkdir
authorMartin Pihlak <martin.pihlak@gmail.com>
Thu, 13 Oct 2011 13:11:53 +0000 (16:11 +0300)
committerMartin Pihlak <martin.pihlak@gmail.com>
Thu, 13 Oct 2011 13:11:53 +0000 (16:11 +0300)
python/walmgr.py

index 737d954cd9442860ee302ec3ae2eb68e25fdf5e1..9856aac6b4c1cb6825178d782c799b00fae2b1d6 100755 (executable)
@@ -997,7 +997,7 @@ config_backup        = %(config_backup)s
             if not os.path.isdir(ssh_dir):
                 self.log.info("Creating directory: %s" % ssh_dir)
                 if not self.not_really:
-                    os.path.mkdir(ssh_dir)
+                    os.mkdir(ssh_dir)
 
             self.log.debug("Reading public key from %s" % self.options.ssh_add_key)
             master_pubkey = open(self.options.ssh_add_key).read()