Browse Source

removed debug

master
Robin Thoni 8 years ago
parent
commit
ab64ad1088
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      vpngen.py

+ 0
- 3
vpngen.py View File

@@ -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)

Loading…
Cancel
Save