Rename configparser.py to bmconfigparser.py

- it was causing problems with py2app because the source of python's own
  CongigParser is also configparser.py
This commit is contained in:
Peter Šurda 2017-02-22 09:34:54 +01:00
parent 266d8eba1f
commit 6062277d60
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
36 changed files with 35 additions and 35 deletions

View File

@ -19,7 +19,7 @@ from binascii import hexlify
import shared import shared
import time import time
from addresses import decodeAddress,addBMIfNotPresent,decodeVarint,calculateInventoryHash,varintDecodeError from addresses import decodeAddress,addBMIfNotPresent,decodeVarint,calculateInventoryHash,varintDecodeError
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import defaults import defaults
import helper_inbox import helper_inbox
import helper_sent import helper_sent

View File

@ -16,7 +16,7 @@ import time
import sys import sys
import os import os
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
api = '' api = ''
keysName = 'keys.dat' keysName = 'keys.dat'

View File

@ -23,7 +23,7 @@ from helper_sql import *
from addresses import * from addresses import *
import ConfigParser import ConfigParser
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from inventory import Inventory from inventory import Inventory
import l10n import l10n
from pyelliptic.openssl import OpenSSL from pyelliptic.openssl import OpenSSL

View File

@ -44,7 +44,7 @@ from class_singleWorker import singleWorker
from class_addressGenerator import addressGenerator from class_addressGenerator import addressGenerator
from class_smtpDeliver import smtpDeliver from class_smtpDeliver import smtpDeliver
from class_smtpServer import smtpServer from class_smtpServer import smtpServer
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
# Helper Functions # Helper Functions

View File

@ -30,7 +30,7 @@ except AttributeError:
from addresses import * from addresses import *
import shared import shared
from bitmessageui import * from bitmessageui import *
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import defaults import defaults
from namecoin import namecoinConnection, ensureNamecoinOptions from namecoin import namecoinConnection, ensureNamecoinOptions
from newaddressdialog import * from newaddressdialog import *

View File

@ -6,7 +6,7 @@ import sys
import inspect import inspect
from helper_sql import * from helper_sql import *
from addresses import decodeAddress from addresses import decodeAddress
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from foldertree import AccountMixin from foldertree import AccountMixin
from pyelliptic.openssl import OpenSSL from pyelliptic.openssl import OpenSSL
from utils import str_broadcast_subscribers from utils import str_broadcast_subscribers

View File

@ -8,7 +8,7 @@
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from foldertree import AddressBookCompleter from foldertree import AddressBookCompleter
from messageview import MessageView from messageview import MessageView
from messagecompose import MessageCompose from messagecompose import MessageCompose

View File

@ -3,7 +3,7 @@ from tr import _translate
import l10n import l10n
import widgets import widgets
from addresses import addBMIfNotPresent from addresses import addBMIfNotPresent
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from dialogs import AddAddressDialog from dialogs import AddAddressDialog
from helper_sql import sqlExecute, sqlQuery from helper_sql import sqlExecute, sqlQuery
from retranslateui import RetranslateMixin from retranslateui import RetranslateMixin

View File

@ -1,7 +1,7 @@
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui
from string import find, rfind, rstrip, lstrip from string import find, rfind, rstrip, lstrip
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from helper_sql import * from helper_sql import *
from utils import * from utils import *
from settingsmixin import SettingsMixin from settingsmixin import SettingsMixin

View File

@ -2,7 +2,7 @@ import glob
import os import os
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import paths import paths
class LanguageBox(QtGui.QComboBox): class LanguageBox(QtGui.QComboBox):

View File

@ -5,7 +5,7 @@ import sys
import time import time
import account import account
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
import defaults import defaults
from foldertree import AccountMixin from foldertree import AccountMixin

View File

@ -2,7 +2,7 @@ from PyQt4 import QtGui
import hashlib import hashlib
import os import os
from addresses import addBMIfNotPresent from addresses import addBMIfNotPresent
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import state import state
str_broadcast_subscribers = '[Broadcast subscribers]' str_broadcast_subscribers = '[Broadcast subscribers]'

View File

@ -7,7 +7,7 @@ import ctypes
import hashlib import hashlib
import highlevelcrypto import highlevelcrypto
from addresses import * from addresses import *
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
import defaults import defaults
from helper_threading import * from helper_threading import *

View File

@ -13,7 +13,7 @@ from binascii import hexlify
from pyelliptic.openssl import OpenSSL from pyelliptic.openssl import OpenSSL
import highlevelcrypto import highlevelcrypto
from addresses import * from addresses import *
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import helper_generic import helper_generic
from helper_generic import addDataPadding from helper_generic import addDataPadding
import helper_bitcoin import helper_bitcoin

View File

@ -11,7 +11,7 @@ import tr
from class_sendDataThread import * from class_sendDataThread import *
from class_receiveDataThread import * from class_receiveDataThread import *
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from helper_threading import * from helper_threading import *
import knownnodes import knownnodes
import queues import queues

View File

@ -24,7 +24,7 @@ from binascii import hexlify
#import highlevelcrypto #import highlevelcrypto
from addresses import * from addresses import *
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from class_objectHashHolder import objectHashHolder from class_objectHashHolder import objectHashHolder
from helper_generic import addDataPadding, isHostInPrivateIPRange from helper_generic import addDataPadding, isHostInPrivateIPRange
from helper_sql import sqlQuery from helper_sql import sqlQuery

View File

@ -5,7 +5,7 @@ import sys
import os import os
import tr#anslate import tr#anslate
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from helper_sql import * from helper_sql import *
from helper_threading import * from helper_threading import *
from inventory import Inventory from inventory import Inventory

View File

@ -1,7 +1,7 @@
import threading import threading
import shared import shared
import socket import socket
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from class_sendDataThread import * from class_sendDataThread import *
from class_receiveDataThread import * from class_receiveDataThread import *
import helper_bootstrap import helper_bootstrap

View File

@ -11,7 +11,7 @@ import highlevelcrypto
import proofofwork import proofofwork
import sys import sys
import tr import tr
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
import defaults import defaults
from helper_sql import * from helper_sql import *

View File

@ -5,7 +5,7 @@ import sys
import threading import threading
import urlparse import urlparse
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
from helper_threading import * from helper_threading import *
import queues import queues

View File

@ -11,7 +11,7 @@ import threading
import time import time
from addresses import decodeAddress from addresses import decodeAddress
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
from helper_sql import sqlExecute from helper_sql import sqlExecute
from helper_threading import StoppableThread from helper_threading import StoppableThread

View File

@ -1,5 +1,5 @@
import threading import threading
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import sqlite3 import sqlite3
import time import time
import shutil # used for moving the messages.dat file import shutil # used for moving the messages.dat file

View File

@ -3,7 +3,7 @@ import defaultKnownNodes
import pickle import pickle
import time import time
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
import knownnodes import knownnodes
import socks import socks

View File

@ -5,7 +5,7 @@ from binascii import hexlify, unhexlify
from multiprocessing import current_process from multiprocessing import current_process
from threading import current_thread, enumerate from threading import current_thread, enumerate
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
import queues import queues
import shutdown import shutdown

View File

@ -1,5 +1,5 @@
import ConfigParser import ConfigParser
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import defaults import defaults
import sys import sys
import os import os

View File

@ -3,7 +3,7 @@ import logging
import os import os
import time import time
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
#logger = logging.getLogger(__name__) #logger = logging.getLogger(__name__)

View File

@ -26,7 +26,7 @@ import socket
import sys import sys
import os import os
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import defaults import defaults
import tr # translate import tr # translate

View File

@ -5,7 +5,7 @@ import hashlib
import random import random
import os import os
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import paths import paths
from state import shutdown from state import shutdown
from debug import logger from debug import logger

View File

@ -6,7 +6,7 @@ from struct import unpack, pack
from subprocess import call from subprocess import call
import sys import sys
import time import time
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
import paths import paths
import openclpow import openclpow

View File

@ -10,7 +10,7 @@ import time
import traceback import traceback
from addresses import calculateInventoryHash, encodeVarint, decodeVarint, decodeAddress, varintDecodeError from addresses import calculateInventoryHash, encodeVarint, decodeVarint, decodeAddress, varintDecodeError
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
import defaults import defaults
from helper_sql import sqlExecute from helper_sql import sqlExecute

View File

@ -18,7 +18,7 @@ from binascii import hexlify
# Project imports. # Project imports.
from addresses import * from addresses import *
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
import highlevelcrypto import highlevelcrypto
#import helper_startup #import helper_startup
from helper_sql import * from helper_sql import *

View File

@ -5,7 +5,7 @@ import time
from class_outgoingSynSender import outgoingSynSender from class_outgoingSynSender import outgoingSynSender
from class_sendDataThread import sendDataThread from class_sendDataThread import sendDataThread
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from debug import logger from debug import logger
from helper_sql import sqlQuery, sqlStoredProcedure from helper_sql import sqlQuery, sqlStoredProcedure
from helper_threading import StoppableThread from helper_threading import StoppableThread

View File

@ -2,7 +2,7 @@ import math
import threading import threading
import time import time
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from singleton import Singleton from singleton import Singleton
import state import state

View File

@ -1,6 +1,6 @@
import os import os
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
# This is used so that the translateText function can be used when we are in daemon mode and not using any QT functions. # This is used so that the translateText function can be used when we are in daemon mode and not using any QT functions.
class translateClass: class translateClass:

View File

@ -6,7 +6,7 @@ import socket
from struct import unpack, pack from struct import unpack, pack
import threading import threading
import time import time
from configparser import BMConfigParser from bmconfigparser import BMConfigParser
from helper_threading import * from helper_threading import *
import queues import queues
import shared import shared