summaryrefslogtreecommitdiffstats
path: root/Lib/plat-riscos
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-03-07 09:08:11 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-03-07 09:08:11 (GMT)
commitf115a0826d5898dd2b7b563b54895cf5cd12ac24 (patch)
treed0db877e40d9121f29fba7b63f7aa86f56d4e732 /Lib/plat-riscos
parenta90f438d4a4514f4dc0b5626762ee303181cc756 (diff)
downloadcpython-f115a0826d5898dd2b7b563b54895cf5cd12ac24.zip
cpython-f115a0826d5898dd2b7b563b54895cf5cd12ac24.tar.gz
cpython-f115a0826d5898dd2b7b563b54895cf5cd12ac24.tar.bz2
Replace setenv with putenv. Reported by Dietmar Schwertberger.
Diffstat (limited to 'Lib/plat-riscos')
-rw-r--r--Lib/plat-riscos/riscosenviron.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-riscos/riscosenviron.py b/Lib/plat-riscos/riscosenviron.py
index 67c75d1..e011a9b 100644
--- a/Lib/plat-riscos/riscosenviron.py
+++ b/Lib/plat-riscos/riscosenviron.py
@@ -19,7 +19,7 @@ class _Environ:
else:
raise KeyError
def __setitem__(self, key, item):
- riscos.setenv(key, item)
+ riscos.putenv(key, item)
def __delitem__(self, key):
riscos.delenv(key)
def clear(self):