summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2016-09-05 21:03:22 +0200
committerRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2016-09-05 21:03:22 +0200
commita2b8981b50e953eedd610d5e6cfb6aa83321894d (patch)
tree6abb9e09d7162cdfca10fe5792b0f4bcb3f6cb21 /doc
parente21ae3991de032d8c0a15ba5725d7f219ca9fcad (diff)
downloadpytest-a2b8981b50e953eedd610d5e6cfb6aa83321894d.tar.gz
docs: remove unused helper script
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/en/_getdoctarget.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/en/_getdoctarget.py b/doc/en/_getdoctarget.py
deleted file mode 100755
index 20e487bb7..000000000
--- a/doc/en/_getdoctarget.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env python
-
-import py
-
-def get_version_string():
- fn = py.path.local(__file__).join("..", "..", "..",
- "_pytest", "__init__.py")
- for line in fn.readlines():
- if "version" in line and not line.strip().startswith('#'):
- return eval(line.split("=")[-1])
-
-def get_minor_version_string():
- return ".".join(get_version_string().split(".")[:2])
-
-if __name__ == "__main__":
- print (get_minor_version_string())