summaryrefslogtreecommitdiff
path: root/python/generic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/generic.cc')
-rw-r--r--python/generic.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/generic.cc b/python/generic.cc
index 7309d978..640f0862 100644
--- a/python/generic.cc
+++ b/python/generic.cc
@@ -9,6 +9,8 @@
/*}}}*/
// Include Files /*{{{*/
#include "generic.h"
+using namespace std;
+
#include <apt-pkg/error.h>
/*}}}*/
@@ -25,8 +27,9 @@ PyObject *HandleErrors(PyObject *Res)
return Res;
}
- if (Res != 0)
+ if (Res != 0) {
Py_DECREF(Res);
+ }
string Err;
int errcnt = 0;