File: fix_future_import.patch

package info (click to toggle)
python-biom-format 2.1.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 51,820 kB
  • sloc: python: 12,757; makefile: 155; sh: 79
file content (21 lines) | stat: -rw-r--r-- 832 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Andreas Tille <tille@debian.org>
Last-Update: Sat, 24 Oct 2015 18:07:11 +0200
Description: "from __future__ import" needs to be the first line of code

--- a/biom/__init__.py
+++ b/biom/__init__.py
@@ -48,12 +48,12 @@ either in TSV, HDF5, JSON, gzip'd JSON o
 # The full license is in the file COPYING.txt, distributed with this software.
 # ----------------------------------------------------------------------------
 
+from __future__ import absolute_import
+
 from .table import Table
 from .parse import parse_biom_table as parse_table, load_table
 from .util import __format_version__, __version__
 
-from __future__ import absolute_import
-
 __author__ = "Daniel McDonald"
 __copyright__ = "Copyright 2011-2017, The BIOM Format Development Team"
 __credits__ = ["Daniel McDonald", "Jai Ram Rideout", "Greg Caporaso",