File: 03_remove_path.patch

package info (click to toggle)
twms 0.03e-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 424 kB
  • sloc: python: 1,527; sh: 111; makefile: 9
file content (13 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: we use a different directory structure so no need to do this
Author: Andrew Shadura <bugzilla@tut.by>

--- a/twms/twms.py
+++ b/twms/twms.py
@@ -24,7 +24,6 @@
 import StringIO
 import time
 import datetime
-sys.path.append(os.path.join(os.path.realpath(sys.path[0]), "twms"))
 config_path = "/etc/twms/twms.conf"
 if os.path.exists(config_path):
   config = imp.load_source("twms.config", config_path)