Ver código fonte

removed debug

master
Robin Thoni 8 anos atrás
pai
commit
ab64ad1088
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0
    3
      vpngen.py

+ 0
- 3
vpngen.py Ver arquivo

@@ -191,7 +191,6 @@ class VpnGen:
191 191
 
192 192
     def create_client(self, vpn_name, client_name, variables):
193 193
         base_dir = self.get_base_dir(vpn_name)
194
-        client_conf_file = self.get_client_config_path(vpn_name, client_name)
195 194
         if not os.path.exists(base_dir):
196 195
             return VpnGenError.VpnDoesNotExists
197 196
         client_dir = self.get_client_dir(vpn_name, client_name)
@@ -254,7 +253,5 @@ class VpnGen:
254 253
         files_names = glob.glob("%s%s*" % (client_dir, os.sep))
255 254
         files_names = list(map(lambda file_path: os.path.basename(file_path), files_names))
256 255
 
257
-        print(files_names)
258
-
259 256
         call(["tar", "cfj", self.get_client_tarball_path(vpn_name, client_name),
260 257
               "-C", client_dir] + files_names)

Carregando…
Cancelar
Salvar