gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: src/fs/test_gnunet_fs_psd.p


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: src/fs/test_gnunet_fs_psd.py.in: Use py2 and py3.4+ compatible import
Date: Sat, 03 Mar 2018 17:31:11 +0100

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

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 4db4adc07 src/fs/test_gnunet_fs_psd.py.in: Use py2 and py3.4+ 
compatible import
4db4adc07 is described below

commit 4db4adc0774b995901c2999a3556abb5b224f647
Author: ng0 <address@hidden>
AuthorDate: Sat Mar 3 16:31:19 2018 +0000

    src/fs/test_gnunet_fs_psd.py.in: Use py2 and py3.4+ compatible import
---
 src/fs/test_gnunet_fs_psd.py.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in
index 87fcf1130..601797c82 100755
--- a/src/fs/test_gnunet_fs_psd.py.in
+++ b/src/fs/test_gnunet_fs_psd.py.in
@@ -1,6 +1,6 @@
 address@hidden@
 #    This file is part of GNUnet.
-#    (C) 2010 Christian Grothoff (and other contributing authors)
+#    (C) 2010, 2018 Christian Grothoff (and other contributing authors)
 #
 #    GNUnet is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published
@@ -23,6 +23,11 @@ import os
 import subprocess
 import re
 import shutil
+try:
+    reload
+except NameError:
+    # python3.4:
+    from importlib import reload
 
 # Force encoding to utf-8, as this test otherwise fails
 # on some systems (see #5094).

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]