summaryrefslogtreecommitdiff
path: root/src/leap/services/eip/vpnlaunchers.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-25 12:01:03 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-25 12:01:35 -0300
commit01ebc3a165de4f84313b298ab6da78c11f181e6d (patch)
tree82a522b4bbadd2af5c7e08cf09269f0248c3f58c /src/leap/services/eip/vpnlaunchers.py
parent2c30ffe4ab8a12712735b7f8fef27cd7700eaaae (diff)
grp doesn't exist in windows
Diffstat (limited to 'src/leap/services/eip/vpnlaunchers.py')
-rw-r--r--src/leap/services/eip/vpnlaunchers.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/services/eip/vpnlaunchers.py b/src/leap/services/eip/vpnlaunchers.py
index 78db0176..9761c225 100644
--- a/src/leap/services/eip/vpnlaunchers.py
+++ b/src/leap/services/eip/vpnlaunchers.py
@@ -21,9 +21,12 @@ Platform dependant VPN launchers
import commands
import logging
import getpass
-import grp
import os
import platform
+try:
+ import grp
+except ImportError:
+ pass # ignore, probably windows
from abc import ABCMeta, abstractmethod