File: fix_future_import.patch

package info (click to toggle)
python-biom-format 2.1.12-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 51,884 kB
  • sloc: python: 13,429; makefile: 145; sh: 99; javascript: 45
file content (21 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (2)
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 @@
 # 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-2020, The BIOM Format Development Team"
 __credits__ = ["Daniel McDonald", "Jai Ram Rideout", "Greg Caporaso",