summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2014-05-16 11:54:17 +0200
committerRoland Hedberg <roland.hedberg@adm.umu.se>2014-05-16 11:54:17 +0200
commit1a3aab9f6020c93effe807034f67f45482623f46 (patch)
tree0834d11a1a8af3487d475b2b1c2b35822ff57a53 /tools
parentaf75f727e5ec22020c8d91af6a0302ea0e4bda74 (diff)
downloadpysaml2-1a3aab9f6020c93effe807034f67f45482623f46.tar.gz
Merge branch 'master' of https://github.com/rhoerbe/pysaml2 into rhoerbe-master
Conflicts: doc/examples/idp.rst example/idp2/idp.py src/saml2/attributemaps/saml_uri.py src/saml2/sigver.py
Diffstat (limited to 'tools')
-rwxr-xr-xtools/sync_attrmaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sync_attrmaps.py b/tools/sync_attrmaps.py
index 0dc84328..a067d8af 100755
--- a/tools/sync_attrmaps.py
+++ b/tools/sync_attrmaps.py
@@ -124,7 +124,7 @@ if __name__ == "__main__":
if os.path.isfile(_name):
directory, fname = os.path.split(_name)
amap = AMap(directory, fname, 4 * " ")
- f = open(_name)
+ f = open(_name, "w")
f.write("%s" % amap)
f.close()
elif os.path.isdir(_name):