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 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
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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):
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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]'
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user