summaryrefslogtreecommitdiff
path: root/voctocore/lib/helper.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-15 10:40:17 +0200
committerMaZderMind <github@mazdermind.de>2015-05-15 10:40:17 +0200
commit18af1394a8b732d94b48b8f13e78cfcae3e45a6e (patch)
tree277a4ed47ce1823742da57a9999b75dd1a265f22 /voctocore/lib/helper.py
parent389f87470bc988a2e4c26b4ce6e23a313aafbaf0 (diff)
Move Class-Level variables to the Instances
I should really learn python…
Diffstat (limited to 'voctocore/lib/helper.py')
-rw-r--r--voctocore/lib/helper.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/voctocore/lib/helper.py b/voctocore/lib/helper.py
deleted file mode 100644
index ac9bfe5..0000000
--- a/voctocore/lib/helper.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from gi.repository import Gst
-
-def iteratorHelper(it):
- while True:
- result, value = it.next()
- if result == Gst.IteratorResult.DONE:
- break
-
- if result != Gst.IteratorResult.OK:
- raise IteratorError(result)
-
- yield value