aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2017-06-13 04:53:20 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2017-06-13 04:53:20 +0300
commitf2f58bcef9f8ee5594f0dfaba55c6a62f25daaa5 (patch)
tree855fdac7a0a3150296e766ebf27d4a176dae40e1 /pomu/util/str.py
parentRepository logic and import fixes (diff)
downloadpomu-f2f58bcef9f8ee5594f0dfaba55c6a62f25daaa5.tar.gz
pomu-f2f58bcef9f8ee5594f0dfaba55c6a62f25daaa5.tar.bz2
pomu-f2f58bcef9f8ee5594f0dfaba55c6a62f25daaa5.zip
Portage package source module
implemented package description parsing, repository lookup started work on finding best package versions
Diffstat (limited to 'pomu/util/str.py')
-rw-r--r--pomu/util/str.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pomu/util/str.py b/pomu/util/str.py
new file mode 100644
index 0000000..4fcd4ac
--- /dev/null
+++ b/pomu/util/str.py
@@ -0,0 +1,2 @@
+def pivot(string, idx):
+ return (string[:idx], string[idx:])