[segyio] 287/376: Import BinField header first

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit dc4046c5289778300b669a73abe5be4c1d6cd4ab
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Fri Apr 28 09:25:02 2017 +0200

    Import BinField header first
    
    Under some conditions this would cause imports to fail, because the
    binary field class was used in a different file that was in front of it
    in __init__'s imports.
---
 python/segyio/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/segyio/__init__.py b/python/segyio/__init__.py
index 4603e91..bd95ee0 100644
--- a/python/segyio/__init__.py
+++ b/python/segyio/__init__.py
@@ -79,10 +79,10 @@ class Enum(object):
         return sorted(result, key=int)
 
 
+from .binfield import BinField
 from .segysampleformat import SegySampleFormat
 from .tracesortingformat import TraceSortingFormat
 from .tracefield import TraceField
-from .binfield import BinField
 from .su import su
 from .open import open
 from .create import create

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list