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:
parent
266d8eba1f
commit
6062277d60
|
@ -19,7 +19,7 @@ from binascii import hexlify
|
|||
import shared
|
||||
import time
|
||||
from addresses import decodeAddress,addBMIfNotPresent,decodeVarint,calculateInventoryHash,varintDecodeError
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import defaults
|
||||
import helper_inbox
|
||||
import helper_sent
|
||||
|
|
|
@ -16,7 +16,7 @@ import time
|
|||
import sys
|
||||
import os
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
|
||||
api = ''
|
||||
keysName = 'keys.dat'
|
||||
|
|
|
@ -23,7 +23,7 @@ from helper_sql import *
|
|||
|
||||
from addresses import *
|
||||
import ConfigParser
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from inventory import Inventory
|
||||
import l10n
|
||||
from pyelliptic.openssl import OpenSSL
|
||||
|
|
|
@ -44,7 +44,7 @@ from class_singleWorker import singleWorker
|
|||
from class_addressGenerator import addressGenerator
|
||||
from class_smtpDeliver import smtpDeliver
|
||||
from class_smtpServer import smtpServer
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
|
||||
# Helper Functions
|
||||
|
|
|
@ -30,7 +30,7 @@ except AttributeError:
|
|||
from addresses import *
|
||||
import shared
|
||||
from bitmessageui import *
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import defaults
|
||||
from namecoin import namecoinConnection, ensureNamecoinOptions
|
||||
from newaddressdialog import *
|
||||
|
|
|
@ -6,7 +6,7 @@ import sys
|
|||
import inspect
|
||||
from helper_sql import *
|
||||
from addresses import decodeAddress
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from foldertree import AccountMixin
|
||||
from pyelliptic.openssl import OpenSSL
|
||||
from utils import str_broadcast_subscribers
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
from PyQt4 import QtCore, QtGui
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from foldertree import AddressBookCompleter
|
||||
from messageview import MessageView
|
||||
from messagecompose import MessageCompose
|
||||
|
|
|
@ -3,7 +3,7 @@ from tr import _translate
|
|||
import l10n
|
||||
import widgets
|
||||
from addresses import addBMIfNotPresent
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from dialogs import AddAddressDialog
|
||||
from helper_sql import sqlExecute, sqlQuery
|
||||
from retranslateui import RetranslateMixin
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from PyQt4 import QtCore, QtGui
|
||||
from string import find, rfind, rstrip, lstrip
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from helper_sql import *
|
||||
from utils import *
|
||||
from settingsmixin import SettingsMixin
|
||||
|
|
|
@ -2,7 +2,7 @@ import glob
|
|||
import os
|
||||
from PyQt4 import QtCore, QtGui
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import paths
|
||||
|
||||
class LanguageBox(QtGui.QComboBox):
|
||||
|
|
|
@ -5,7 +5,7 @@ import sys
|
|||
import time
|
||||
|
||||
import account
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
import defaults
|
||||
from foldertree import AccountMixin
|
||||
|
|
|
@ -2,7 +2,7 @@ from PyQt4 import QtGui
|
|||
import hashlib
|
||||
import os
|
||||
from addresses import addBMIfNotPresent
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import state
|
||||
|
||||
str_broadcast_subscribers = '[Broadcast subscribers]'
|
||||
|
|
|
@ -7,7 +7,7 @@ import ctypes
|
|||
import hashlib
|
||||
import highlevelcrypto
|
||||
from addresses import *
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
import defaults
|
||||
from helper_threading import *
|
||||
|
|
|
@ -13,7 +13,7 @@ from binascii import hexlify
|
|||
from pyelliptic.openssl import OpenSSL
|
||||
import highlevelcrypto
|
||||
from addresses import *
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import helper_generic
|
||||
from helper_generic import addDataPadding
|
||||
import helper_bitcoin
|
||||
|
|
|
@ -11,7 +11,7 @@ import tr
|
|||
|
||||
from class_sendDataThread import *
|
||||
from class_receiveDataThread import *
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from helper_threading import *
|
||||
import knownnodes
|
||||
import queues
|
||||
|
|
|
@ -24,7 +24,7 @@ from binascii import hexlify
|
|||
|
||||
#import highlevelcrypto
|
||||
from addresses import *
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from class_objectHashHolder import objectHashHolder
|
||||
from helper_generic import addDataPadding, isHostInPrivateIPRange
|
||||
from helper_sql import sqlQuery
|
||||
|
|
|
@ -5,7 +5,7 @@ import sys
|
|||
import os
|
||||
|
||||
import tr#anslate
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from helper_sql import *
|
||||
from helper_threading import *
|
||||
from inventory import Inventory
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import threading
|
||||
import shared
|
||||
import socket
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from class_sendDataThread import *
|
||||
from class_receiveDataThread import *
|
||||
import helper_bootstrap
|
||||
|
|
|
@ -11,7 +11,7 @@ import highlevelcrypto
|
|||
import proofofwork
|
||||
import sys
|
||||
import tr
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
import defaults
|
||||
from helper_sql import *
|
||||
|
|
|
@ -5,7 +5,7 @@ import sys
|
|||
import threading
|
||||
import urlparse
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
from helper_threading import *
|
||||
import queues
|
||||
|
|
|
@ -11,7 +11,7 @@ import threading
|
|||
import time
|
||||
|
||||
from addresses import decodeAddress
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
from helper_sql import sqlExecute
|
||||
from helper_threading import StoppableThread
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import threading
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import sqlite3
|
||||
import time
|
||||
import shutil # used for moving the messages.dat file
|
||||
|
|
|
@ -3,7 +3,7 @@ import defaultKnownNodes
|
|||
import pickle
|
||||
import time
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
import knownnodes
|
||||
import socks
|
||||
|
|
|
@ -5,7 +5,7 @@ from binascii import hexlify, unhexlify
|
|||
from multiprocessing import current_process
|
||||
from threading import current_thread, enumerate
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
import queues
|
||||
import shutdown
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import ConfigParser
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import defaults
|
||||
import sys
|
||||
import os
|
||||
|
|
|
@ -3,7 +3,7 @@ import logging
|
|||
import os
|
||||
import time
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
|
||||
|
||||
#logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -26,7 +26,7 @@ import socket
|
|||
import sys
|
||||
import os
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import defaults
|
||||
import tr # translate
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import hashlib
|
|||
import random
|
||||
import os
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import paths
|
||||
from state import shutdown
|
||||
from debug import logger
|
||||
|
|
|
@ -6,7 +6,7 @@ from struct import unpack, pack
|
|||
from subprocess import call
|
||||
import sys
|
||||
import time
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
import paths
|
||||
import openclpow
|
||||
|
|
|
@ -10,7 +10,7 @@ import time
|
|||
import traceback
|
||||
|
||||
from addresses import calculateInventoryHash, encodeVarint, decodeVarint, decodeAddress, varintDecodeError
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
import defaults
|
||||
from helper_sql import sqlExecute
|
||||
|
|
|
@ -18,7 +18,7 @@ from binascii import hexlify
|
|||
|
||||
# Project imports.
|
||||
from addresses import *
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
import highlevelcrypto
|
||||
#import helper_startup
|
||||
from helper_sql import *
|
||||
|
|
|
@ -5,7 +5,7 @@ import time
|
|||
|
||||
from class_outgoingSynSender import outgoingSynSender
|
||||
from class_sendDataThread import sendDataThread
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from debug import logger
|
||||
from helper_sql import sqlQuery, sqlStoredProcedure
|
||||
from helper_threading import StoppableThread
|
||||
|
|
|
@ -2,7 +2,7 @@ import math
|
|||
import threading
|
||||
import time
|
||||
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from singleton import Singleton
|
||||
import state
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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.
|
||||
class translateClass:
|
||||
|
|
|
@ -6,7 +6,7 @@ import socket
|
|||
from struct import unpack, pack
|
||||
import threading
|
||||
import time
|
||||
from configparser import BMConfigParser
|
||||
from bmconfigparser import BMConfigParser
|
||||
from helper_threading import *
|
||||
import queues
|
||||
import shared
|
||||
|
|
Reference in New Issue
Block a user