diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/telethon/helpers.py b/telethon/helpers.py index <HASH>..<HASH> 100644 --- a/telethon/helpers.py +++ b/telethon/helpers.py @@ -90,20 +90,6 @@ def generate_key_data_from_nonce(server_nonce, new_nonce): return key, iv -def get_password_hash(pw, current_salt): - """Gets the password hash for the tw...
Remove old code to get the hash of a password
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -1016,10 +1016,10 @@ class TestCheckManifest(unittest.TestCase): def test_bad_ideas(self): from check_manifest import check_manifest self._create_repo_with_code() - self._add_to_vcs('PKG-INFO') + ...
Fix tests on Python <I> Package building fails badly if you've got an empty PKG-INFO in the source tree.
py
diff --git a/openquake/output/hazard.py b/openquake/output/hazard.py index <HASH>..<HASH> 100644 --- a/openquake/output/hazard.py +++ b/openquake/output/hazard.py @@ -556,6 +556,7 @@ class BulkInserter(object): """ if not self.fields: self.fields = kwargs.keys() + assert set(self.f...
Check that all calls to BulkInserter.add_entry receive the same arguments.
py
diff --git a/mailchimp3/mailchimpclient.py b/mailchimp3/mailchimpclient.py index <HASH>..<HASH> 100644 --- a/mailchimp3/mailchimpclient.py +++ b/mailchimp3/mailchimpclient.py @@ -9,7 +9,6 @@ import functools import requests from requests.auth import HTTPBasicAuth -from requests.exceptions import InvalidURL, HTTPErr...
Remove unneeded imports and correct PATCH in docstring
py
diff --git a/tap/tests/test_rules.py b/tap/tests/test_rules.py index <HASH>..<HASH> 100644 --- a/tap/tests/test_rules.py +++ b/tap/tests/test_rules.py @@ -64,6 +64,15 @@ class TestRules(TestCase): _('Only one plan line is permitted per file.'), self.suite._tests[0]._line.description) + de...
<I>% coverage for Rules.
py
diff --git a/inlineplz/linters/tflint.py b/inlineplz/linters/tflint.py index <HASH>..<HASH> 100644 --- a/inlineplz/linters/tflint.py +++ b/inlineplz/linters/tflint.py @@ -12,7 +12,10 @@ import dirtyjson as json "name": "tflint", "language": "terraform", "patterns": ["*.tf"], - "install...
tflint: fall back to go get install (#<I>)
py
diff --git a/timepiece/contracts/tests/test_invoices.py b/timepiece/contracts/tests/test_invoices.py index <HASH>..<HASH> 100644 --- a/timepiece/contracts/tests/test_invoices.py +++ b/timepiece/contracts/tests/test_invoices.py @@ -252,7 +252,7 @@ class InvoiceViewPreviousTestCase(ViewTestMixin, LogTimeMixin, TestCase):...
Update Python/Django: Fix typo in earlier changes
py
diff --git a/python/ray/util/multiprocessing/pool.py b/python/ray/util/multiprocessing/pool.py index <HASH>..<HASH> 100644 --- a/python/ray/util/multiprocessing/pool.py +++ b/python/ray/util/multiprocessing/pool.py @@ -660,7 +660,7 @@ class Pool: if not self._closed: self.close() for acto...
Use ray.kill() in multiprocessing.Pool (#<I>)
py
diff --git a/salt/utils/event.py b/salt/utils/event.py index <HASH>..<HASH> 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -701,7 +701,7 @@ class ReactWrap(object): self.pool = salt.utils.process.ThreadPool( self.opts['reactor_worker_threads'], # number of workers for runner/whee...
Don't comment out second line!
py
diff --git a/sseclient/__init__.py b/sseclient/__init__.py index <HASH>..<HASH> 100644 --- a/sseclient/__init__.py +++ b/sseclient/__init__.py @@ -50,6 +50,8 @@ class SSEClient(object): yield data data = '' data += line.decode(self._char_enc) + if data: ...
Dispatch last chunk correctly The chunk reading method had a bug that would lead it to not dispatch the last chunk of data from the event source if the stream did not end with an empty new line.
py
diff --git a/BAC0/core/functions/Schedule.py b/BAC0/core/functions/Schedule.py index <HASH>..<HASH> 100644 --- a/BAC0/core/functions/Schedule.py +++ b/BAC0/core/functions/Schedule.py @@ -69,7 +69,10 @@ class Schedule: } def create_weeklySchedule(self, dict_schedule, object_reference=None): - + """ + ...
Adding comments. This conclude the sprint effort to fix issue #<I>
py
diff --git a/example/mnist_with_meterlogger.py b/example/mnist_with_meterlogger.py index <HASH>..<HASH> 100644 --- a/example/mnist_with_meterlogger.py +++ b/example/mnist_with_meterlogger.py @@ -62,7 +62,7 @@ def main(): engine = Engine() - mlog = MeterLogger(server='10.10.30.91', port=9917, nclass=10, titl...
Modified MeterLogger setting into localhost. (#<I>)
py
diff --git a/xclim/indices.py b/xclim/indices.py index <HASH>..<HASH> 100644 --- a/xclim/indices.py +++ b/xclim/indices.py @@ -664,7 +664,7 @@ def tn_min(tasmin, freq='YS'): # @check_daily_monotonic # TODO create daily timestep check # @convert_precip_units # TODO create units checker / converter -def max_1day_pr...
RX1day : added skip nan false behavior. RX1day will be strict on presence of nan values any single nan present with a resample period shall result in that period as a nan value
py
diff --git a/pyes/es.py b/pyes/es.py index <HASH>..<HASH> 100644 --- a/pyes/es.py +++ b/pyes/es.py @@ -767,13 +767,19 @@ class ES(object): def force_bulk(self): """ - Force executing of all bulk data + Force executing of all bulk data. + + Return the bulk response + ...
Added response to ES.force_bulk. closes #<I>
py
diff --git a/codecov/__init__.py b/codecov/__init__.py index <HASH>..<HASH> 100644 --- a/codecov/__init__.py +++ b/codecov/__init__.py @@ -331,7 +331,7 @@ def main(*argv, **kwargs): "--flags", "-F", nargs="*", - default=None, + default=os.getenv("CODECOV_FLAGS"), help="...
Add support for CODECOV_FLAGS (#<I>)
py
diff --git a/umis/umis.py b/umis/umis.py index <HASH>..<HASH> 100644 --- a/umis/umis.py +++ b/umis/umis.py @@ -80,6 +80,9 @@ def fastqtransform(transform, fastq1, fastq2, demuxed_cb): if demuxed_cb: read1_dict['CB'] = demuxed_cb + # Deal with spaces in read names + read1_dict['name...
Remove irrelevant comments in read names when transforming
py
diff --git a/asphalt/core/component.py b/asphalt/core/component.py index <HASH>..<HASH> 100644 --- a/asphalt/core/component.py +++ b/asphalt/core/component.py @@ -47,7 +47,7 @@ class ContainerComponent(Component): If the second argument is omitted, the value of ``alias`` is used as its value. The lo...
Removed erroneous word from add_component() docstring
py
diff --git a/satpy/readers/avhrr_l1b_gaclac.py b/satpy/readers/avhrr_l1b_gaclac.py index <HASH>..<HASH> 100644 --- a/satpy/readers/avhrr_l1b_gaclac.py +++ b/satpy/readers/avhrr_l1b_gaclac.py @@ -59,12 +59,11 @@ class GACLACFile(BaseFileHandler): filename_info['end_time'].time(...
Use platform ID to choose the right reader for AVHRR GAC data
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -1598,6 +1598,29 @@ def is_smartos(): @real_memoize +def is_smartos_globalzone(): + ''' + Function to return if host is SmartOS (Illumos) global zone or not + ...
implement is_smartos_globalzone() - complex check to see if we are smartos and running in the global zone
py
diff --git a/src/pyctools/tools/editor.py b/src/pyctools/tools/editor.py index <HASH>..<HASH> 100644 --- a/src/pyctools/tools/editor.py +++ b/src/pyctools/tools/editor.py @@ -566,13 +566,16 @@ class CompoundIcon(BasicComponentIcon): x = pos.x() y = pos.y() for child in self.scene().matching_i...
Fix bug in moving components when expand compound
py
diff --git a/malcolm/modules/profiling/profiler.py b/malcolm/modules/profiling/profiler.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/profiling/profiler.py +++ b/malcolm/modules/profiling/profiler.py @@ -20,10 +20,12 @@ class Profiler(Collector): self.started = True super(Profiler, self).start(...
Reset stack frame storage on stop of profiler by default
py
diff --git a/language_check/__init__.py b/language_check/__init__.py index <HASH>..<HASH> 100644 --- a/language_check/__init__.py +++ b/language_check/__init__.py @@ -41,7 +41,7 @@ from .backports import subprocess from .which import which -__version__ = '0.7.1' +__version__ = '0.7.2' __all__ = ['LanguageTool...
Increment patch version to <I>
py
diff --git a/simple_history/models.py b/simple_history/models.py index <HASH>..<HASH> 100644 --- a/simple_history/models.py +++ b/simple_history/models.py @@ -146,8 +146,8 @@ class HistoricalRecords(object): field_arguments['db_constraint'] = False if getattr(old_field, 'to_fields'...
Fetch pre-<I> to_field from rel field object itself
py
diff --git a/msmbuilder/cluster/apm.py b/msmbuilder/cluster/apm.py index <HASH>..<HASH> 100644 --- a/msmbuilder/cluster/apm.py +++ b/msmbuilder/cluster/apm.py @@ -18,7 +18,7 @@ from . import MultiSequenceClusterMixin from ..base import BaseEstimator # ==================================================================...
modified: msmbuilder/cluster/apm.py
py
diff --git a/lawfactory_utils/urls.py b/lawfactory_utils/urls.py index <HASH>..<HASH> 100644 --- a/lawfactory_utils/urls.py +++ b/lawfactory_utils/urls.py @@ -199,6 +199,7 @@ def clean_url(url): if 'senat.fr' in netloc: path = path.replace('leg/../', '/') path = path.replace('dossierleg/', 'dossi...
more normalization of senat dosleg urls the only case is "<URL>
py
diff --git a/werkzeug/testsuite/_urlparse.py b/werkzeug/testsuite/_urlparse.py index <HASH>..<HASH> 100644 --- a/werkzeug/testsuite/_urlparse.py +++ b/werkzeug/testsuite/_urlparse.py @@ -820,6 +820,10 @@ class UrlParseTestCase(WerkzeugTestCase): result = urlparse.unquote_to_bytes(u'') self.assertEqual...
Added test for unsafe arg for unquote
py
diff --git a/src/state.py b/src/state.py index <HASH>..<HASH> 100644 --- a/src/state.py +++ b/src/state.py @@ -20,6 +20,7 @@ class State(Module): processed_occ = {} with self.lock: for pc, state in occ.iteritems(): + pc = pc.lower() # normalize HG075PC47 -> hg075pc47 ...
state: normalize pc names to lowercase
py
diff --git a/pysam/version.py b/pysam/version.py index <HASH>..<HASH> 100644 --- a/pysam/version.py +++ b/pysam/version.py @@ -1,6 +1,6 @@ # pysam versioning information -__version__ = "0.8.3" +__version__ = "0.8.4pre" __samtools_version__ = "1.2"
bumped version to <I>pre
py
diff --git a/domaintools/base_results.py b/domaintools/base_results.py index <HASH>..<HASH> 100644 --- a/domaintools/base_results.py +++ b/domaintools/base_results.py @@ -57,8 +57,10 @@ class Results(MutableMapping, MutableSequence): def _make_request(self): with Session() as session: if self...
Update for python2 compatiblity
py
diff --git a/account/urls.py b/account/urls.py index <HASH>..<HASH> 100644 --- a/account/urls.py +++ b/account/urls.py @@ -2,8 +2,9 @@ from django.conf.urls import patterns, url from django.contrib.auth.decorators import login_required -from account.views import SignupView, LoginView, LogoutView, ChangePasswordVie...
moved view imports in urls.py
py
diff --git a/pyroSAR/sqlite_util.py b/pyroSAR/sqlite_util.py index <HASH>..<HASH> 100644 --- a/pyroSAR/sqlite_util.py +++ b/pyroSAR/sqlite_util.py @@ -62,14 +62,19 @@ class __Handler(object): @property def version(self): + out = {'sqlite': sqlite3.version} cursor = self.conn.cursor() - ...
__Handler.version: adjusted to case where spatialite is not loaded
py
diff --git a/indra/sources/cwms/processor.py b/indra/sources/cwms/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/cwms/processor.py +++ b/indra/sources/cwms/processor.py @@ -528,7 +528,7 @@ class CWMSProcessor(object): if wm_type_element is not None: grounding_element = wm_type_elemen...
Change CWMS score to <I>
py
diff --git a/scraper/github/queryManager.py b/scraper/github/queryManager.py index <HASH>..<HASH> 100644 --- a/scraper/github/queryManager.py +++ b/scraper/github/queryManager.py @@ -338,16 +338,20 @@ class GitHubQueryManager: class DataManager: """JSON data manager.""" - def __init__(self, filePath=None): +...
Added option to load data from file when initializing a DataManger. Fixed documentation.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,10 +6,10 @@ open_kwds = {} if sys.version_info > (3,): open_kwds['encoding'] = 'utf-8' -with open("requirements.txt") as f: +req_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "requirements.txt") +w...
absolute path for requirements.txt
py
diff --git a/src/ocrmypdf/pdfinfo.py b/src/ocrmypdf/pdfinfo.py index <HASH>..<HASH> 100644 --- a/src/ocrmypdf/pdfinfo.py +++ b/src/ocrmypdf/pdfinfo.py @@ -583,11 +583,31 @@ def _naive_find_text(*, pdf, page): def _page_has_text(infile, pageno): + "Smarter text detection that ignores text in margins" + ...
When deciding if there is a text on a page, ignore the margins Margins may include watermarks or digital stamps on otherwise text-free pages.
py
diff --git a/post_office/tests/lockfile.py b/post_office/tests/lockfile.py index <HASH>..<HASH> 100644 --- a/post_office/tests/lockfile.py +++ b/post_office/tests/lockfile.py @@ -10,10 +10,10 @@ def setup_fake_lock(lock_file_name): pid = os.getpid() lockfile = '%s.lock' % pid try: - os.remove('tes...
Don't hardcode lockname in test.
py
diff --git a/src/cobra/util/array.py b/src/cobra/util/array.py index <HASH>..<HASH> 100644 --- a/src/cobra/util/array.py +++ b/src/cobra/util/array.py @@ -44,6 +44,11 @@ def create_stoichiometric_matrix( matrix of class `dtype` The stoichiometric matrix for the given model. + Raises + ------ + ...
refactor: update exception in docstring; discard return value for SVD
py
diff --git a/asyncio_xmpp/stream_worker.py b/asyncio_xmpp/stream_worker.py index <HASH>..<HASH> 100644 --- a/asyncio_xmpp/stream_worker.py +++ b/asyncio_xmpp/stream_worker.py @@ -276,7 +276,10 @@ class StanzaBroker(StreamWorker): logger.debug("current token map: %r", self....
Don’t fulfill an already fulfilled IQ response future
py
diff --git a/pylatex/base_classes.py b/pylatex/base_classes.py index <HASH>..<HASH> 100644 --- a/pylatex/base_classes.py +++ b/pylatex/base_classes.py @@ -28,7 +28,7 @@ class BaseLaTeXClass: def dumps(self): """Represents the class as a string in LaTeX syntax.""" - def dump(self, file_, protocol=None...
Remove unnecessary protocol keywords, suggested by mcnnowak
py
diff --git a/alarmdecoder/zonetracking.py b/alarmdecoder/zonetracking.py index <HASH>..<HASH> 100644 --- a/alarmdecoder/zonetracking.py +++ b/alarmdecoder/zonetracking.py @@ -177,7 +177,7 @@ class Zonetracker(object): self._last_zone_fault = 0 # Process fault - elif message.ch...
Now tracking faulted zones from ALARM messages.
py
diff --git a/wandb/internal/internal_api.py b/wandb/internal/internal_api.py index <HASH>..<HASH> 100644 --- a/wandb/internal/internal_api.py +++ b/wandb/internal/internal_api.py @@ -328,6 +328,7 @@ class Api(object): viewer { id entity + flags ...
missing flags in viewer (#<I>)
py
diff --git a/rauth/service.py b/rauth/service.py index <HASH>..<HASH> 100644 --- a/rauth/service.py +++ b/rauth/service.py @@ -308,9 +308,14 @@ class OAuth2Service(Request): raise ValueError('Either params or data dict missing.') grant_type = kwargs[key].get('grant_type', 'authorization_code') -...
Add support for client_credentials flow.
py
diff --git a/salt/utils/thin.py b/salt/utils/thin.py index <HASH>..<HASH> 100644 --- a/salt/utils/thin.py +++ b/salt/utils/thin.py @@ -77,8 +77,12 @@ log = logging.getLogger(__name__) def _get_salt_call(dirs=None): ''' - Return salt-call source. + Return salt-call source, based on configuration. + This...
Update docstring to the salt-call generator
py
diff --git a/api_core/tests/unit/test_datetime_helpers.py b/api_core/tests/unit/test_datetime_helpers.py index <HASH>..<HASH> 100644 --- a/api_core/tests/unit/test_datetime_helpers.py +++ b/api_core/tests/unit/test_datetime_helpers.py @@ -270,6 +270,24 @@ class Test_DateTimeWithNanos(object): assert stamp == e...
Add parameterized test for from_rfc<I> with nanos (#<I>) * Add parameterized test for from_rfc<I> with nanos
py
diff --git a/tests/contrib/cache/test_cache.py b/tests/contrib/cache/test_cache.py index <HASH>..<HASH> 100644 --- a/tests/contrib/cache/test_cache.py +++ b/tests/contrib/cache/test_cache.py @@ -55,6 +55,7 @@ class CacheTestsBase(object): @pytest.fixture def c(self, make_cache): + pytest.skip('Cachin...
skip cache tests since it is currently unmaintained
py
diff --git a/graphene_gae/__init__.py b/graphene_gae/__init__.py index <HASH>..<HASH> 100755 --- a/graphene_gae/__init__.py +++ b/graphene_gae/__init__.py @@ -9,7 +9,7 @@ from .ndb.fields import ( ) __author__ = 'Eran Kampf' -__version__ = '0.1.9' +__version__ = '1.0-dev' __all__ = [ NdbObjectType,
changed version to <I>-dev
py
diff --git a/pandas/tests/tseries/offsets/test_offsets_properties.py b/pandas/tests/tseries/offsets/test_offsets_properties.py index <HASH>..<HASH> 100644 --- a/pandas/tests/tseries/offsets/test_offsets_properties.py +++ b/pandas/tests/tseries/offsets/test_offsets_properties.py @@ -13,6 +13,7 @@ from hypothesis import ...
TST: on_offset_implementations closes #<I> (#<I>)
py
diff --git a/setuptools/tests/test_register.py b/setuptools/tests/test_register.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_register.py +++ b/setuptools/tests/test_register.py @@ -18,7 +18,7 @@ class TestRegisterTest: cmd.run() - cmd.announce.assert_called_once_with( + cmd.anno...
Relax overfitted test. Fixes #<I>.
py
diff --git a/tests/integration/test_bitbucket.py b/tests/integration/test_bitbucket.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_bitbucket.py +++ b/tests/integration/test_bitbucket.py @@ -55,11 +55,6 @@ class Test_BitBucket(GitRepoTestCase): self.action_clone(namespace='guyzmo', ...
FIXUP too many slashes
py
diff --git a/nolearn/lasagne/tests/test_base.py b/nolearn/lasagne/tests/test_base.py index <HASH>..<HASH> 100644 --- a/nolearn/lasagne/tests/test_base.py +++ b/nolearn/lasagne/tests/test_base.py @@ -611,7 +611,7 @@ class TestInitializeLayers: ('lasagne.layers.DenseLayer', {'num_units': 33}), ...
Two test fixes after rebase from master
py
diff --git a/tabulator/parsers/gsheet.py b/tabulator/parsers/gsheet.py index <HASH>..<HASH> 100644 --- a/tabulator/parsers/gsheet.py +++ b/tabulator/parsers/gsheet.py @@ -29,7 +29,7 @@ class GsheetParser(api.Parser): def open(self, source, encoding, loader): self.close() url = 'https://docs.googl...
Fix gsheet gid extraction (#<I>)
py
diff --git a/Generative-Adversarial-Networks/pygan/generativemodel/autoencodermodel/conditional_convolutional_auto_encoder.py b/Generative-Adversarial-Networks/pygan/generativemodel/autoencodermodel/conditional_convolutional_auto_encoder.py index <HASH>..<HASH> 100644 --- a/Generative-Adversarial-Networks/pygan/generat...
Update for epochs.
py
diff --git a/gg/builtins/branches/tests/test_gg_branches.py b/gg/builtins/branches/tests/test_gg_branches.py index <HASH>..<HASH> 100644 --- a/gg/builtins/branches/tests/test_gg_branches.py +++ b/gg/builtins/branches/tests/test_gg_branches.py @@ -80,4 +80,6 @@ def test_branches(temp_configfile, mocker): assert res...
for the sake of py<I>
py
diff --git a/spyder/utils/site/sitecustomize.py b/spyder/utils/site/sitecustomize.py index <HASH>..<HASH> 100644 --- a/spyder/utils/site/sitecustomize.py +++ b/spyder/utils/site/sitecustomize.py @@ -178,7 +178,7 @@ if os.name == 'nt' and PY2: if sys.platform == 'darwin': from spyder.config.base import MAC_APP_NA...
Sitecustomize: Fix an error for our Mac apps
py
diff --git a/proliantutils/hpssa/constants.py b/proliantutils/hpssa/constants.py index <HASH>..<HASH> 100644 --- a/proliantutils/hpssa/constants.py +++ b/proliantutils/hpssa/constants.py @@ -46,7 +46,7 @@ DISK_TYPE_MAP = {'SCSI': DISK_TYPE_HDD, 'SATASSD': DISK_TYPE_SSD, 'SASSSD': DIS...
Modify minimum disk for RAID 0 in hpssa hpssa supports RAID 0 with the minimum of one physical disk Change-Id: I<I>c<I>ff<I>a<I>c9b7fa1f<I>e<I>d7e<I> Closes-Bug: Bug #<I>
py
diff --git a/salt/states/module.py b/salt/states/module.py index <HASH>..<HASH> 100644 --- a/salt/states/module.py +++ b/salt/states/module.py @@ -211,7 +211,7 @@ def run(name, **kwargs): returners[kwargs['returner']](ret_ret) ret['comment'] = 'Module function {0} executed'.format(name) ret['resu...
Make result=False if retcode is not 0 in module.run/wait This fixes commit <I>e<I>aeb2d<I>f<I>f<I>fb<I>f<I>b2e<I>af7 which introduced this code, but seems to check the wrong part of `ret`
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,13 +2,13 @@ from setuptools import setup setup( name='pykitti', - version='0.3.0', + version='0.3.1', description='A minimal set of tools for working with the KITTI dataset in Python', author='Lee Cl...
Update version and pandas depdendency
py
diff --git a/superset/models/core.py b/superset/models/core.py index <HASH>..<HASH> 100755 --- a/superset/models/core.py +++ b/superset/models/core.py @@ -678,7 +678,7 @@ class Dashboard(Model, AuditMixinNullable, ImportMixin): # add extra params for the import copied_slc.alter_params(...
Fix incorrect datasource_name in dashboard export (#<I>) The bug was introduced in #<I> It uses filter by `cls.table_name == datasource_name`: <URL>`
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages import sys, os -version = '0.1.1' +version = '0.1.2' f = open('tbgrep/README.rst') long_description = f.read() @@ -11,7 +11,16 @@ setup(name='tbgrep', ver...
Added trove classifiers.
py
diff --git a/pymatgen/io/vasp/outputs.py b/pymatgen/io/vasp/outputs.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/outputs.py +++ b/pymatgen/io/vasp/outputs.py @@ -4448,7 +4448,7 @@ class Waveder: filename: Name of file containing WAVEDER. """ - def __init__(self, filename): + def __init__(...
Added gamma_only option to Waveder initialization.
py
diff --git a/bcbio/variation/varscan.py b/bcbio/variation/varscan.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/varscan.py +++ b/bcbio/variation/varscan.py @@ -230,6 +230,15 @@ def fix_varscan_output(line, normal_name="", tumor_name=""): # "Unknown" states are broken in current versions of VarSc...
VarScan: fix FREQ for population germline runs Ensures FREQ fixes in VarScan multisample calling. Fixes #<I>
py
diff --git a/great_expectations/render/renderer/v3/suite_profile_notebook_renderer.py b/great_expectations/render/renderer/v3/suite_profile_notebook_renderer.py index <HASH>..<HASH> 100644 --- a/great_expectations/render/renderer/v3/suite_profile_notebook_renderer.py +++ b/great_expectations/render/renderer/v3/suite_pr...
Fix link in suite profile renderer (#<I>) Current link points to legacy docs. Consider changing.
py
diff --git a/dwave/cloud/client.py b/dwave/cloud/client.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/client.py +++ b/dwave/cloud/client.py @@ -67,7 +67,7 @@ class Client(object): @classmethod def from_config(cls, config_file=None, profile=None, client=None, endpoint=None, token=None, ...
Generalize from_config to accept custom args During client init with `Client.from_config`, allow for explicit override of all config-file/env defined variables.
py
diff --git a/tornado/test/simple_httpclient_test.py b/tornado/test/simple_httpclient_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/simple_httpclient_test.py +++ b/tornado/test/simple_httpclient_test.py @@ -213,7 +213,7 @@ class SimpleHTTPClientTestCase(AsyncHTTPTestCase): with ExpectLog(gen_log, "unca...
Relax a timing sensitive test that fails occasionally on travis-ci
py
diff --git a/HARK/distribution.py b/HARK/distribution.py index <HASH>..<HASH> 100644 --- a/HARK/distribution.py +++ b/HARK/distribution.py @@ -622,6 +622,9 @@ class MVNormal(Distribution): Z, A.T ) + # Discrete distribution wants X to be a list of arrays. + X = [X[:,i] for i in ran...
Fix mvnorm test
py
diff --git a/openquake/hazardlib/geo/surface/multi.py b/openquake/hazardlib/geo/surface/multi.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/geo/surface/multi.py +++ b/openquake/hazardlib/geo/surface/multi.py @@ -122,9 +122,9 @@ class MultiSurface(BaseSurface): :returns: mesh corresponding to the who...
fixing issue for multirupt with kite surfaces with different number of profiles
py
diff --git a/angr/keyed_region.py b/angr/keyed_region.py index <HASH>..<HASH> 100644 --- a/angr/keyed_region.py +++ b/angr/keyed_region.py @@ -125,12 +125,15 @@ class KeyedRegion: def __contains__(self, offset): """ - Test if there is at least one varaible covering the given offset. + Test...
KeyedRegion: Raises TypeError if offset is not an int.
py
diff --git a/src/pycldf/dataset.py b/src/pycldf/dataset.py index <HASH>..<HASH> 100644 --- a/src/pycldf/dataset.py +++ b/src/pycldf/dataset.py @@ -423,6 +423,8 @@ class Dataset(object): @staticmethod def get_tabletype(table): + if table.common_props.get('dc:conformsTo', '') is None: + retu...
Allow table type to be None, and pass that value through. Fixes #<I>.
py
diff --git a/openpnm/utils/Project.py b/openpnm/utils/Project.py index <HASH>..<HASH> 100644 --- a/openpnm/utils/Project.py +++ b/openpnm/utils/Project.py @@ -512,7 +512,8 @@ class Project(list): if objtype.startswith('net'): obj = openpnm.network.GenericNetwork(project=self, name=name) e...
had to tweak a few spots that were assuming default to no locations
py
diff --git a/DemoPrograms/Demo_OpenCV_Draw_On_Webcam_Image.py b/DemoPrograms/Demo_OpenCV_Draw_On_Webcam_Image.py index <HASH>..<HASH> 100644 --- a/DemoPrograms/Demo_OpenCV_Draw_On_Webcam_Image.py +++ b/DemoPrograms/Demo_OpenCV_Draw_On_Webcam_Image.py @@ -23,7 +23,7 @@ def main(): break ret, fram...
Change to ppm format from png to get better performance
py
diff --git a/command/install_lib.py b/command/install_lib.py index <HASH>..<HASH> 100644 --- a/command/install_lib.py +++ b/command/install_lib.py @@ -77,7 +77,8 @@ class install_lib(Command): if not isinstance(self.optimize, int): try: self.optimize = int(self.optimize) - ...
Merged revisions <I> via svnmerge from svn+ssh://<EMAIL>/python/trunk ........ r<I> | tarek.ziade | <I>-<I>-<I> <I>:<I>:<I> <I> (Tue, <I> May <I>) | 1 line removing the assert statement so the code works when Python is run with -O ........
py
diff --git a/src/busio.py b/src/busio.py index <HASH>..<HASH> 100755 --- a/src/busio.py +++ b/src/busio.py @@ -53,6 +53,8 @@ class I2C(Lockable): return self._i2c.readfrom_into(address, buffer, stop) def writeto(self, address, buffer, start=0, end=None, stop=True): + if isinstance(buffer, str): +...
politely cope with strings of bytes
py
diff --git a/blockstack_cli_0.14.1/blockstack_client/accounts.py b/blockstack_cli_0.14.1/blockstack_client/accounts.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/accounts.py +++ b/blockstack_cli_0.14.1/blockstack_client/accounts.py @@ -71,7 +71,7 @@ def get_profile_accounts( profile, serv...
get_account and list_account don't need wallet_keys
py
diff --git a/scripts/sample_script.py b/scripts/sample_script.py index <HASH>..<HASH> 100755 --- a/scripts/sample_script.py +++ b/scripts/sample_script.py @@ -48,7 +48,7 @@ operation of this script.''' required_params = {'x': 'A sample numeric value'} -if __name__ == 'main': +if __name__ == '__main__': # TO...
Fix typo in __main__
py
diff --git a/allel/test/model/test_chunked.py b/allel/test/model/test_chunked.py index <HASH>..<HASH> 100644 --- a/allel/test/model/test_chunked.py +++ b/allel/test/model/test_chunked.py @@ -619,6 +619,13 @@ class VariantChunkedTableTestsZarrStorage(VariantChunkedTableTests): vt = self.setup_instance(a) ...
add test to resolve #<I>
py
diff --git a/gravity/process_manager/__init__.py b/gravity/process_manager/__init__.py index <HASH>..<HASH> 100644 --- a/gravity/process_manager/__init__.py +++ b/gravity/process_manager/__init__.py @@ -109,9 +109,13 @@ class BaseProcessManager(object, metaclass=ABCMeta): registered_instance_names = self.confi...
Fix a bug in separating instances from service names in the process manager
py
diff --git a/testing/term.py b/testing/term.py index <HASH>..<HASH> 100644 --- a/testing/term.py +++ b/testing/term.py @@ -1,7 +1,7 @@ from testing.helper import * from ieml import ScriptParser from ieml.script import * -from models.constants import DB_ADDRESS, DB_NAME_TERM, TERMS_COLLECTION +from models.constants i...
Fix a test on script architecture.
py
diff --git a/timepiece/views.py b/timepiece/views.py index <HASH>..<HASH> 100644 --- a/timepiece/views.py +++ b/timepiece/views.py @@ -101,10 +101,6 @@ def view_entries(request): .select_related('user', 'contract__project__type') activity_entries = entries.values('billable').annotate(sum=Sum('hours')) \ ...
refs #<I> - Removed others_active_entries query. No longer needed with the active_entries context_processor.
py
diff --git a/runipy/main.py b/runipy/main.py index <HASH>..<HASH> 100644 --- a/runipy/main.py +++ b/runipy/main.py @@ -150,7 +150,7 @@ def main(): exporter = HTMLExporter( config=Config({ 'HTMLExporter': { - 'template_file':args.template, + ...
runipy/main.py: Add space after `:` in dictionary.
py
diff --git a/bugzilla/base.py b/bugzilla/base.py index <HASH>..<HASH> 100644 --- a/bugzilla/base.py +++ b/bugzilla/base.py @@ -1542,6 +1542,25 @@ class Bugzilla(object): ret = ret[0] return ret + def openattachment_data(self, attachment_dict): + """ + Helper for turning passed A...
base: Add openattachment_data This is a helper API for taking an attachment dict() and converting the raw data into a python fileobj
py
diff --git a/openfisca_core/legislationsxml.py b/openfisca_core/legislationsxml.py index <HASH>..<HASH> 100644 --- a/openfisca_core/legislationsxml.py +++ b/openfisca_core/legislationsxml.py @@ -235,8 +235,6 @@ def transform_value_xml_json_to_json(value_xml_json, xml_json_value_to_json_tran assert key not in (...
No longer process "fin" in VALUE nodes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name = "querybuilder", - version = "0.1.1", + version = "0.1.2", packages = [ "querybuilder", ],
* Bumped the version to <I>
py
diff --git a/modin/engines/ray/generic/io.py b/modin/engines/ray/generic/io.py index <HASH>..<HASH> 100644 --- a/modin/engines/ray/generic/io.py +++ b/modin/engines/ray/generic/io.py @@ -128,7 +128,7 @@ class RayIO(BaseIO): queue.put(get_value + 1) # used for synchronization purposes - ...
FIX-#<I>: use pandas.DataFrame as return value (#<I>)
py
diff --git a/python/phonenumbers/__init__.py b/python/phonenumbers/__init__.py index <HASH>..<HASH> 100644 --- a/python/phonenumbers/__init__.py +++ b/python/phonenumbers/__init__.py @@ -146,7 +146,7 @@ from .phonenumbermatcher import PhoneNumberMatch, PhoneNumberMatcher, Leniency # Version number is taken from the ...
Prep for <I> release
py
diff --git a/turnstile/remote.py b/turnstile/remote.py index <HASH>..<HASH> 100644 --- a/turnstile/remote.py +++ b/turnstile/remote.py @@ -473,7 +473,9 @@ class SimpleRPC(object): if (not func or not callable(func) or not getattr(func, '...
Use an AttributeError if function doesn't exist Raise an AttributeError instead of a NameError if the requested remote function does not, in fact, exist.
py
diff --git a/braceexpand.py b/braceexpand.py index <HASH>..<HASH> 100644 --- a/braceexpand.py +++ b/braceexpand.py @@ -87,11 +87,11 @@ def braceexpand(pattern, escape=True): UnbalancedBracesError: Unbalanced braces: '{1{2,3}' # By default, the backslash is the escape character. - >>> list(braceexpand(r'{...
Fix deprecation warnings due to invalid escape sequences.
py
diff --git a/invenio_oauthclient/models.py b/invenio_oauthclient/models.py index <HASH>..<HASH> 100644 --- a/invenio_oauthclient/models.py +++ b/invenio_oauthclient/models.py @@ -123,7 +123,9 @@ class RemoteToken(db.Model): # id_remote_account = db.Column( db.Integer, - db.ForeignKey(RemoteAcc...
models: constraint naming fix * Fixes issue with auto-generated constraint name being too long for MySQL.
py
diff --git a/sos/plugins/general.py b/sos/plugins/general.py index <HASH>..<HASH> 100644 --- a/sos/plugins/general.py +++ b/sos/plugins/general.py @@ -33,8 +33,8 @@ class General(Plugin): "/etc/hostid", "/var/lib/dbus/machine-id", "/etc/exports", - "/etc/localtime", - ...
Do not collect anaconda-ks.cfg in general plug-in The anaconda kickstart file is Red Hat specific and should not be collected in the general plugin. It may also contain plaintext or encrypted passwords - these are handled properly in the anaconda plugin itself but are missing from the copy in general.
py
diff --git a/money/money.py b/money/money.py index <HASH>..<HASH> 100644 --- a/money/money.py +++ b/money/money.py @@ -204,7 +204,7 @@ class Money(object): """ Return a locale-aware, currency-formatted string. - This method is a wrapper of Babel's babel.numbers.format_currency(). + ...
Money.format() is not exactly a wrapper.
py
diff --git a/pyrogram/client/ext/dispatcher.py b/pyrogram/client/ext/dispatcher.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/ext/dispatcher.py +++ b/pyrogram/client/ext/dispatcher.py @@ -130,7 +130,7 @@ class Dispatcher: for lock in self.locks_list: lock.release() - ...
Fix coroutine scheduling when adding/removing handlers
py
diff --git a/src/scs_core/aws/data/alert.py b/src/scs_core/aws/data/alert.py index <HASH>..<HASH> 100644 --- a/src/scs_core/aws/data/alert.py +++ b/src/scs_core/aws/data/alert.py @@ -51,7 +51,7 @@ class AlertStatus(JSONable): rec = LocalizedDatetime.construct_from_iso8601(jdict.get('rec')) cause = j...
Fixed a bug in AlertStatus
py
diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py index <HASH>..<HASH> 100644 --- a/saltapi/netapi/rest_cherrypy/app.py +++ b/saltapi/netapi/rest_cherrypy/app.py @@ -810,6 +810,8 @@ class Logout(LowDataAdapter): ''' Destroy the currently active session and expire t...
Added versionadded to Logout docs
py
diff --git a/gapy/client.py b/gapy/client.py index <HASH>..<HASH> 100644 --- a/gapy/client.py +++ b/gapy/client.py @@ -148,8 +148,15 @@ class QueryClient(object): return [value] def _prefix_ga(self, values): - """Prefix all items in a list with 'ga:'""" - return ("ga:%s" % value for va...
Enable variables to be prefixed with - This is required to indicate a descending sort, e.g. ``` sort=["-foo"] ``` Needs to be passed to analytics as: ``` -ga:foo ``` This change assumes that variable names never start with a `-`.
py
diff --git a/src/perfplot/_main.py b/src/perfplot/_main.py index <HASH>..<HASH> 100644 --- a/src/perfplot/_main.py +++ b/src/perfplot/_main.py @@ -229,13 +229,17 @@ class Bench: # and the time for gauging how many more repetitions are to be done. If the # initial time doesn't exceed the target...
better error message for div by 0
py
diff --git a/pyVim/connect.py b/pyVim/connect.py index <HASH>..<HASH> 100644 --- a/pyVim/connect.py +++ b/pyVim/connect.py @@ -375,7 +375,7 @@ def __Login(host, port, user, pwd, service, adapter, version, path, """ content, si, stub = __RetrieveContent(host, port, adapter, version, path, - ...
Pass connectionPoolTimeout to __RetrieveContent in __Login
py
diff --git a/client/deis.py b/client/deis.py index <HASH>..<HASH> 100755 --- a/client/deis.py +++ b/client/deis.py @@ -1078,7 +1078,7 @@ class DeisClient(object): finally: progress.cancel() progress.join() - if response.status_code == requests.codes.ok: # @UndefinedVariable + ...
fix(client): handle created response code on domains:add
py
diff --git a/logagg/forward/forwarder.py b/logagg/forward/forwarder.py index <HASH>..<HASH> 100644 --- a/logagg/forward/forwarder.py +++ b/logagg/forward/forwarder.py @@ -72,7 +72,7 @@ class LogForwarder(BaseScript): def read_from_q(self): msgs = [] - last_push_ts = time.time() + last_push_ts = t...
references #3 resolved the indentations problem
py
diff --git a/modelforge/model.py b/modelforge/model.py index <HASH>..<HASH> 100644 --- a/modelforge/model.py +++ b/modelforge/model.py @@ -511,7 +511,7 @@ def split_strings(subtree: dict) -> List[str]: """ strings = subtree["strings"] lengths = subtree["lengths"] - if len(lengths) == 0 and len(strings...
Fix split_strings For some reason len function for numpy array gives weird error sometimes: ``` if len(lengths) == 0 and len(strings) == 0: TypeError: 'int' object is not callable ``` lengths.shape[0] works smoothly.
py
diff --git a/bot/bot.py b/bot/bot.py index <HASH>..<HASH> 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -150,7 +150,7 @@ class UpdatesProcessor: def __do_safe(func: callable): try: return func() - except: + except Exception: pass def should_keep_processing_upda...
Avoid ignoring exit exceptions on __do_safe in bot.py (eg. a KeyboardInterrupt while sending a message to admin chat)
py
diff --git a/mamba/formatters.py b/mamba/formatters.py index <HASH>..<HASH> 100644 --- a/mamba/formatters.py +++ b/mamba/formatters.py @@ -231,7 +231,7 @@ class JUnitFormatter(DocumentationFormatter): self.suite.attrib['tests'] = str(example_count) self.suite.attrib['skipped'] = str(pending_count) ...
fix: change junit 'time' field format, as it breaks some importers when parsing it
py