From a20a00130dbcb3fb403b49dfd83bbaff70c18107 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sun, 11 Jun 2017 22:58:11 +0300 Subject: [PATCH] email notifications disabled --- .travis.yml | 2 ++ toxygen/history.py | 3 --- toxygen/loginscreen.py | 2 -- toxygen/main.py | 2 -- toxygen/tox.py | 1 - toxygen/util.py | 3 +-- 6 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6002d8f..e79850e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: python python: - "3.4" +notifications: + email: false before_install: - sudo apt-get update - sudo apt-get install -y checkinstall build-essential diff --git a/toxygen/history.py b/toxygen/history.py index fe7d3ee..586981a 100644 --- a/toxygen/history.py +++ b/toxygen/history.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from sqlite3 import connect import settings from os import chdir diff --git a/toxygen/loginscreen.py b/toxygen/loginscreen.py index b6d0811..fbaa4e3 100644 --- a/toxygen/loginscreen.py +++ b/toxygen/loginscreen.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - try: from PySide import QtCore, QtGui except ImportError: diff --git a/toxygen/main.py b/toxygen/main.py index 44e6cbe..0f6932e 100644 --- a/toxygen/main.py +++ b/toxygen/main.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - import sys from loginscreen import LoginScreen import profile diff --git a/toxygen/tox.py b/toxygen/tox.py index 862badd..0545653 100644 --- a/toxygen/tox.py +++ b/toxygen/tox.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from ctypes import c_char_p, Structure, c_bool, byref, c_int, c_size_t, POINTER, c_uint16, c_void_p, c_uint64 from ctypes import create_string_buffer, ArgumentError, CFUNCTYPE, c_uint32, sizeof, c_uint8 from toxcore_enums_and_consts import * diff --git a/toxygen/util.py b/toxygen/util.py index 468884b..07e78b3 100644 --- a/toxygen/util.py +++ b/toxygen/util.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - import os import time import shutil @@ -80,6 +78,7 @@ def append_slash(s): return s +@cached def is_64_bit(): return sys.maxsize > 2 ** 32