aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-07-10 03:40:18 +0000
committerBen McGinnes <[email protected]>2018-07-10 03:40:18 +0000
commit0e760e396fbf13e902d0dc0c048bff0d5410fa16 (patch)
treec9ea7e6fee49f4ea94f2960ce088ed65228cc4ab
parentdocs: python bindings howto (diff)
downloadgpgme-0e760e396fbf13e902d0dc0c048bff0d5410fa16.tar.gz
gpgme-0e760e396fbf13e902d0dc0c048bff0d5410fa16.zip
example scripts: python work-arounds
* fixed three typos which were guaranteed to break said script.
-rwxr-xr-xlang/python/examples/howto/temp-homedir-config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/examples/howto/temp-homedir-config.py b/lang/python/examples/howto/temp-homedir-config.py
index 3bb5cf35..1111fe21 100755
--- a/lang/python/examples/howto/temp-homedir-config.py
+++ b/lang/python/examples/howto/temp-homedir-config.py
@@ -91,17 +91,17 @@ else:
userdir = os.path.expanduser("~")
if new_homedir.startswith("~"):
- new_homdir.replace("~", "")
+ new_homedir.replace("~", "")
else:
pass
if new_homedir.startswith("/"):
- new_homdir.replace("/", "")
+ new_homedir.replace("/", "")
else:
pass
if new_homedir.startswith("."):
- new_homdir.replace(".", "_")
+ new_homedir.replace(".", "_")
else:
pass