summaryrefslogtreecommitdiff
path: root/gbp/scripts/pq.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/pq.py')
-rwxr-xr-xgbp/scripts/pq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py
index 78f061a..6885078 100755
--- a/gbp/scripts/pq.py
+++ b/gbp/scripts/pq.py
@@ -59,7 +59,7 @@ def export_patches(repo, branch, options):
signature=False,
symmetric=False)
if patches:
- f = file(SERIES_FILE, 'w')
+ f = open(SERIES_FILE, 'w')
gbp.log.info("Regenerating patch queue in '%s'." % PATCH_DIR)
for patch in patches:
filename = write_patch(patch, PATCH_DIR, options)