From 0712ae9caf7b8633f69e1e5e192b0d4a7d2332be Mon Sep 17 00:00:00 2001 From: Sverre Rabbelier Date: Sun, 8 Jun 2008 16:58:18 +0200 Subject: [PATCH] gitstats: Moved stats.py back up again. On a third thought, git_stats is the library being created whereas stats.py is the frontend _using_ that library. As such, it does not belong _inside_ that library, but should go outside of it instead. --- src/{git_stats => }/stats.py | 6 ------ 1 file changed, 6 deletions(-) rename src/{git_stats => }/stats.py (91%) diff --git a/src/git_stats/stats.py b/src/stats.py similarity index 91% rename from src/git_stats/stats.py rename to src/stats.py index 42e50c8..22cef25 100755 --- a/src/git_stats/stats.py +++ b/src/stats.py @@ -15,12 +15,6 @@ file = __file__ path = os.path.abspath(file) dir = os.path.dirname(path) -split = os.path.split(dir) -dir = split[0] - -if not split[1] == "git_stats": - raise Exception("Please run this script inside the git_stats directory") - os.sys.path.insert(0, dir) from git_python import Git -- 2.11.4.GIT