python: Import from __future__ to align behavior of Python 2.7.
-- Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
3b37c4efcf
commit
dc23fdf555
@ -17,6 +17,9 @@
|
|||||||
|
|
||||||
"""Demonstrate the use of the Assuan protocol engine"""
|
"""Demonstrate the use of the Assuan protocol engine"""
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
|
|
||||||
with pyme.Context(protocol=pyme.constants.PROTOCOL_ASSUAN) as c:
|
with pyme.Context(protocol=pyme.constants.PROTOCOL_ASSUAN) as c:
|
||||||
|
@ -24,6 +24,9 @@ be used like this:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import pyme
|
import pyme
|
||||||
pyme.Context().decrypt(sys.stdin, sink=sys.stdout)
|
pyme.Context().decrypt(sys.stdin, sink=sys.stdout)
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
# Sample of key deletion
|
# Sample of key deletion
|
||||||
# It deletes keys for joe@example.org generated by genkey.py script
|
# It deletes keys for joe@example.org generated by genkey.py script
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
|
|
||||||
with pyme.Context() as c:
|
with pyme.Context() as c:
|
||||||
|
@ -22,6 +22,9 @@ This program will try to encrypt a simple message to each key on your
|
|||||||
keyring. If your keyring has any invalid keys on it, those keys will
|
keyring. If your keyring has any invalid keys on it, those keys will
|
||||||
be skipped and it will re-try the encryption."""
|
be skipped and it will re-try the encryption."""
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import pyme
|
import pyme
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
# Sample of export and import of keys
|
# Sample of export and import of keys
|
||||||
# It uses keys for joe+pyme@example.org generated by genkey.py script
|
# It uses keys for joe+pyme@example.org generated by genkey.py script
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import pyme
|
import pyme
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
|
|
||||||
# This is the example from the GPGME manual.
|
# This is the example from the GPGME manual.
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
|
|
||||||
"""Simple interactive editor to test editor scripts"""
|
"""Simple interactive editor to test editor scripts"""
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import pyme
|
import pyme
|
||||||
import pyme.constants.status
|
import pyme.constants.status
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import pyme
|
import pyme
|
||||||
from pyme.constants.sig import mode
|
from pyme.constants.sig import mode
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
# Sample of unattended signing/verifying of a message.
|
# Sample of unattended signing/verifying of a message.
|
||||||
# It uses keys for joe+pyme@example.org generated by genkey.py script
|
# It uses keys for joe+pyme@example.org generated by genkey.py script
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import pyme
|
import pyme
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import pyme
|
import pyme
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
|
|
||||||
"""A test applicaton for the CMS protocol."""
|
"""A test applicaton for the CMS protocol."""
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import pyme
|
import pyme
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from pyme import core
|
from pyme import core
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys, re
|
import sys, re
|
||||||
|
|
||||||
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
||||||
|
@ -99,6 +99,9 @@ GPGME documentation: https://www.gnupg.org/documentation/manuals/gpgme/
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from . import core
|
from . import core
|
||||||
from . import errors
|
from . import errors
|
||||||
from . import constants
|
from . import constants
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from getpass import getpass
|
from getpass import getpass
|
||||||
|
|
||||||
def passphrase_stdin(hint, desc, prev_bad, hook=None):
|
def passphrase_stdin(hint, desc, prev_bad, hook=None):
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_', globals())
|
util.process_constants('GPGME_', globals())
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from . import encoding
|
from . import encoding
|
||||||
__all__ = ['encoding']
|
__all__ = ['encoding']
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_DATA_ENCODING_', globals())
|
util.process_constants('GPGME_DATA_ENCODING_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_EVENT_', globals())
|
util.process_constants('GPGME_EVENT_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_IMPORT_', globals())
|
util.process_constants('GPGME_IMPORT_', globals())
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from . import mode
|
from . import mode
|
||||||
__all__ = ['mode']
|
__all__ = ['mode']
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_KEYLIST_MODE_', globals())
|
util.process_constants('GPGME_KEYLIST_MODE_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_MD_', globals())
|
util.process_constants('GPGME_MD_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_PK_', globals())
|
util.process_constants('GPGME_PK_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_PROTOCOL_', globals())
|
util.process_constants('GPGME_PROTOCOL_', globals())
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from . import mode
|
from . import mode
|
||||||
__all__ = ['mode']
|
__all__ = ['mode']
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_SIG_MODE_', globals())
|
util.process_constants('GPGME_SIG_MODE_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_SIGSUM_', globals())
|
util.process_constants('GPGME_SIGSUM_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_STATUS_', globals())
|
util.process_constants('GPGME_STATUS_', globals())
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import util
|
from pyme import util
|
||||||
util.process_constants('GPGME_VALIDITY_', globals())
|
util.process_constants('GPGME_VALIDITY_', globals())
|
||||||
|
@ -24,6 +24,9 @@ and the 'Data' class describing buffers of data.
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
import weakref
|
import weakref
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from . import gpgme
|
from . import gpgme
|
||||||
from . import util
|
from . import util
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
"""Robust result objects
|
"""Robust result objects
|
||||||
|
|
||||||
Results returned by the underlying library are fragile, i.e. they are
|
Results returned by the underlying library are fragile, i.e. they are
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
def process_constants(prefix, scope):
|
def process_constants(prefix, scope):
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function
|
||||||
|
del absolute_import, print_function
|
||||||
|
|
||||||
from . import gpgme
|
from . import gpgme
|
||||||
|
|
||||||
productname = 'pyme'
|
productname = 'pyme'
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import pyme
|
import pyme
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from pyme import core
|
from pyme import core
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
from pyme import core, constants, errors
|
from pyme import core, constants, errors
|
||||||
import support
|
import support
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import random
|
import random
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import pyme
|
import pyme
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import pyme
|
import pyme
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
|
|
||||||
with pyme.Context(protocol=pyme.constants.PROTOCOL_ASSUAN) as c:
|
with pyme.Context(protocol=pyme.constants.PROTOCOL_ASSUAN) as c:
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import pyme
|
import pyme
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import pyme
|
import pyme
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from pyme import core, constants
|
from pyme import core, constants
|
||||||
import support
|
import support
|
||||||
|
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import pyme
|
import pyme
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
del absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from pyme import core, constants, errors
|
from pyme import core, constants, errors
|
||||||
import support
|
import support
|
||||||
|
Loading…
Reference in New Issue
Block a user