summaryrefslogtreecommitdiff
path: root/python/tarfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-11-10 17:20:58 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-11-10 17:20:58 +0100
commit628d7caf9ca6ee819398a4b88c23e42094fe2c10 (patch)
tree06d0c31214151eadd35a945dc6e063e2e52dd38d /python/tarfile.cc
parent1948d5d03887eb81ea7797c0f23049ef6c3895ce (diff)
downloadpython-apt-628d7caf9ca6ee819398a4b88c23e42094fe2c10.tar.gz
fix build against apt in experimental
Diffstat (limited to 'python/tarfile.cc')
-rw-r--r--python/tarfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tarfile.cc b/python/tarfile.cc
index cdfe0a7c..bd903b57 100644
--- a/python/tarfile.cc
+++ b/python/tarfile.cc
@@ -348,7 +348,7 @@ static const char *tarfile_extractall_doc =
"can be used to change the target directory.";
static PyObject *tarfile_extractall(PyObject *self, PyObject *args)
{
- string cwd = SafeGetCWD();
+ std::string cwd = SafeGetCWD();
char *rootdir = 0;
if (PyArg_ParseTuple(args,"|s:extractall",&rootdir) == 0)
return 0;