-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
It seems the svn module (svn.local) is only used to import the exceptions svn.exception.SvnException after a subprocess call, e.g.:
Lines 377 to 388 in 9377f51
| if (LNGIT == False): | |
| try: | |
| #repo = subprocess.check_output("svn info | awk '/^Kind:/ {print $2}'", shell=True).strip() | |
| repo = subprocess.check_output("LC_ALL=C svn info | awk '/^Kind:/ {print $2}'", shell=True).strip() | |
| except svn.exception.SvnException: | |
| print(BLUE + "This is not an svn repo \n" + NORMAL) | |
| except OSError as e: | |
| print("Error - ", e) | |
| else: | |
| print(BLUE + "This is an SVN Repo" + NORMAL) | |
| global LNSVN | |
| LNSVN=True |
If we find a workaround for this, we could drop the svn module (GPL-2) completely...
Additional context
The svn python package is distributed under GPL-2 which has implications for products linking to this library! (It's not the LGPL!)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working