Commits

Simone Dalla  committed c1551b3

Tolto i default per la variabile 'samba_shares' che facevano riferimento ad
'apollo'

  • Participants
  • Parent commits 8a79b57

Comments (0)

Files changed (1)

File pygmount/utils/mount.py

         self.dry_run = dry_run
         self.shell_mode = shell_mode
         self.pkgs_required = ['smbfs']
-        self.samba_shares = {}
+        self.samba_shares = []
         self.sudo_env, self.host_username = get_sudo_username()
         self.cmd_mount = "mount -t cifs //%(hostname)s/%(share)s "\
                          "%(mountpoint)s"\
             if self.verbose:
                 logging.warning("File RC utilizzato: %s", self.file)
             self.samba_shares = read_config(self.file)
-            return
-        self.samba_shares = [{'hostname': 'apollo', 'share': 'tutti'},
-                             {'hostname': 'apollo', 'share': 'servizi'},
-                             {'hostname': 'apollo',
-                              'share': self.domain_username}, ]
 
     def run(self):
         """