Skip to content

Commit d5c10c2

Browse files
committed
sync_rpms.py: Move __future__ import to head of file
To avoid python complaining: File "./sync_rpms.py", line 29 from __future__ import print_function SyntaxError: from __future__ imports must occur at the beginning of the file Change-Id: Iac0abfb428cdac203a7febf1e34ad1c1dbd5fdfd Reviewed-on: http://review.couchbase.org/c/kv_engine/+/163653 Tested-by: Build Bot <[email protected]> Reviewed-by: James H <[email protected]>
1 parent f9e722f commit d5c10c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/sync_rpms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env python2.7
22

3+
from __future__ import print_function
4+
35
"""
46
Copyright 2020-Present Couchbase, Inc.
57
@@ -23,10 +25,8 @@
2325
Example usage:
2426
2527
grep '^\(glibc\|libstdc++\)' couchbase.log | ./sync_rpms.py
26-
2728
"""
2829

29-
from __future__ import print_function
3030
import fileinput
3131
import logging
3232
import os

0 commit comments

Comments
 (0)