diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/slave/ls340.py b/slave/ls340.py index <HASH>..<HASH> 100644 --- a/slave/ls340.py +++ b/slave/ls340.py @@ -117,11 +117,15 @@ class LS340(InstrumentBase): """ self.connection.write('*CLS') + def clear_alarm(self): + """Clears the alarm status for all inputs.""" + self.con...
Renamed self_test member function; Implemented clearing of alarm status. Closes #<I>
py
diff --git a/searx/webapp.py b/searx/webapp.py index <HASH>..<HASH> 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -91,11 +91,6 @@ def index(): continue selected_categories.append(category) if not len(selected_categories): - cookie_categories = request.co...
[mod] the browser search always uses the general category
py
diff --git a/ella/core/tasks.py b/ella/core/tasks.py index <HASH>..<HASH> 100644 --- a/ella/core/tasks.py +++ b/ella/core/tasks.py @@ -15,5 +15,5 @@ else: from ella.core.management import generate_publish_signals, regenerate_listing_handlers - periodic_task(run_every=timedelta(hours=1))(generate_publish_sig...
run generate_publish_signals way more often
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,12 +15,12 @@ setup( install_requires=[ 'pyfastaq >= 3.14.0', ], - license='GPLv3', + license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'Topic :: Scientific/Engin...
Fix license: it's MIT not GPLv3
py
diff --git a/neurom/version.py b/neurom/version.py index <HASH>..<HASH> 100644 --- a/neurom/version.py +++ b/neurom/version.py @@ -27,4 +27,4 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. """ neurom version """ -VERSION = "0.0.3.dev0" +VERSION = "0.0.3.dev1"
Increase dev version to test BBP deployment
py
diff --git a/test/lib/base.py b/test/lib/base.py index <HASH>..<HASH> 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -224,6 +224,12 @@ class Container(object): return int(local(cmd, capture=True)) return -1 + def start_tcpdump(self, interface=None, filename=None): + if not int...
test: add start_tcpdump()
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ setup(name='mmpy', provides=['mmpy'], license='ISCL', requires=['simplejson'], + install_requires=['simplejson'], classifiers=['Development Status :: 3 - Alpha', ...
install_requires so as to automatically install the simplejson dependency
py
diff --git a/osm_api_tests.py b/osm_api_tests.py index <HASH>..<HASH> 100644 --- a/osm_api_tests.py +++ b/osm_api_tests.py @@ -1,6 +1,5 @@ import sys, urllib.parse, http.client, json, logging, time -logging.basicConfig(level=logging.INFO, stream=sys.stdout, format='%(levelname)09s - %(message)s') http_params = dict...
Moved logging config into main() because it wasn't appearing in Cloudfront logs
py
diff --git a/autotest/pst_from_tests.py b/autotest/pst_from_tests.py index <HASH>..<HASH> 100644 --- a/autotest/pst_from_tests.py +++ b/autotest/pst_from_tests.py @@ -2990,7 +2990,7 @@ def usg_freyberg_test(): pyemu.os_utils.run("{0} freyberg.usg.pst".format(ies_exe_path), cwd=pf.new_d) pst = pyemu.Pst(os.p...
more testing of pstfrom usg stuff
py
diff --git a/explauto/utils/utils.py b/explauto/utils/utils.py index <HASH>..<HASH> 100644 --- a/explauto/utils/utils.py +++ b/explauto/utils/utils.py @@ -13,7 +13,7 @@ def gaussian_kernel(d, sigma_sq): @param d the euclidean distance @param sigma_sq sigma of the gaussian, squared. """ - retu...
gaussian kernel compatible with integers
py
diff --git a/ipuz/puzzlekinds/answer.py b/ipuz/puzzlekinds/answer.py index <HASH>..<HASH> 100644 --- a/ipuz/puzzlekinds/answer.py +++ b/ipuz/puzzlekinds/answer.py @@ -5,14 +5,10 @@ from ipuz.validators import ( validate_dict_of_strings, validate_int, validate_list_of_strings, + validate_string, ) ...
Reduced code needed to validate answer field
py
diff --git a/tests/unit/objects/test_creditmemo.py b/tests/unit/objects/test_creditmemo.py index <HASH>..<HASH> 100644 --- a/tests/unit/objects/test_creditmemo.py +++ b/tests/unit/objects/test_creditmemo.py @@ -1,6 +1,6 @@ import unittest -from quickbooks.objects.creditmemo import SalesItemLineDetail, CreditMemoLine...
Updated tests for creditmemo.
py
diff --git a/pokepy/api.py b/pokepy/api.py index <HASH>..<HASH> 100644 --- a/pokepy/api.py +++ b/pokepy/api.py @@ -151,7 +151,7 @@ class V2Client(BaseClient): @functools.wraps(func) def inner(*args, **kwargs): final = func(*args, **kwargs) - if isinstance(final,...
Removed unneeded condition isinstance(final, list) is not needed as 'final' is always a list
py
diff --git a/neurondm/neurondm/models/apinat_npo.py b/neurondm/neurondm/models/apinat_npo.py index <HASH>..<HASH> 100644 --- a/neurondm/neurondm/models/apinat_npo.py +++ b/neurondm/neurondm/models/apinat_npo.py @@ -23,7 +23,7 @@ sheet_classes = [ 'bromo', 'sstom', # 'keast-jun7', ...
neurondm apinat include new colon, add ability to exclude via column
py
diff --git a/marathon/models/base.py b/marathon/models/base.py index <HASH>..<HASH> 100644 --- a/marathon/models/base.py +++ b/marathon/models/base.py @@ -50,5 +50,7 @@ class MarathonResource(MarathonObject): if 'id' in vars(self).keys(): return "{clazz}::{id}".format(clazz=self.__class__.__name__...
Fix default representation for MarathonResource objects without IDs
py
diff --git a/tests/unit/test_Import_01.py b/tests/unit/test_Import_01.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_Import_01.py +++ b/tests/unit/test_Import_01.py @@ -26,11 +26,6 @@ class TestImport_01(unittest.TestCase): @unittest.skipUnless(hasPandas, "has no pandas") def test_with_pandas(self): -...
remove aggregate from test_Import_<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ except ImportError: setup( name='Relay', - version='0.0.1', + version='0.1.0', description=( 'A smart thermostat. Given a "metric", a timeseries that should' ' approach a give...
Preparing release <I>
py
diff --git a/wordfreq_builder/wordfreq_builder/tokenizers.py b/wordfreq_builder/wordfreq_builder/tokenizers.py index <HASH>..<HASH> 100644 --- a/wordfreq_builder/wordfreq_builder/tokenizers.py +++ b/wordfreq_builder/wordfreq_builder/tokenizers.py @@ -10,7 +10,7 @@ CLD2_BAD_CHAR_RANGE = "".join([ '\x7f-\x9f', ...
Added codepoints U<I>FFFE and U<I>FFFF to CLD2_BAD_CHAR_RANGE
py
diff --git a/gutenberg/gutenberg.py b/gutenberg/gutenberg.py index <HASH>..<HASH> 100644 --- a/gutenberg/gutenberg.py +++ b/gutenberg/gutenberg.py @@ -73,7 +73,7 @@ class Gutenberg(configutil.ConfigMapping): for path in osutil.listfiles(self.download.data_path): try: etext = EText...
Skip etexts without uids This is the only way to handle some etexts (e.g. dream<I>.zip) that simply don't have any sort of uid. Fixes #2
py
diff --git a/pyciss/_utils.py b/pyciss/_utils.py index <HASH>..<HASH> 100644 --- a/pyciss/_utils.py +++ b/pyciss/_utils.py @@ -20,10 +20,10 @@ def which_epi_janus_resonance(name, time): The given name string (either `janus` or `epimetheus`) and attach a 1 or 2, as appropriate. """ - t1 = Time(...
fix correct answer for times before <I>
py
diff --git a/tests/test_gvar.py b/tests/test_gvar.py index <HASH>..<HASH> 100644 --- a/tests/test_gvar.py +++ b/tests/test_gvar.py @@ -24,6 +24,11 @@ import numpy as np import random import gvar as gv from gvar import * +try: + import vegas + have_vegas = True +except: + have_vegas = False FAST = False ...
fixed Python><I> problem with test
py
diff --git a/oplus/version.py b/oplus/version.py index <HASH>..<HASH> 100644 --- a/oplus/version.py +++ b/oplus/version.py @@ -1 +1 @@ -version='6.1.1' +version='7.0.1.dev0'
[skip ci] updated version as <I>.dev0
py
diff --git a/ubelt/tests/test_cmd.py b/ubelt/tests/test_cmd.py index <HASH>..<HASH> 100644 --- a/ubelt/tests/test_cmd.py +++ b/ubelt/tests/test_cmd.py @@ -131,6 +131,28 @@ def test_cmd_interleaved_streams_py(): assert result['err'] == '!E0\n!E5\n!E10\n!E15\n!E20\n!E25\n' +def test_cwd(): + import sys + i...
Add test for ub.cmd cwd and env
py
diff --git a/pyscada/hmi/admin.py b/pyscada/hmi/admin.py index <HASH>..<HASH> 100644 --- a/pyscada/hmi/admin.py +++ b/pyscada/hmi/admin.py @@ -83,6 +83,10 @@ class XYChartAdmin(admin.ModelAdmin): def name(self, instance): return instance.variables.name + def formfield_for_foreignkey(self, db_field, r...
prepare to join chart and xycharts
py
diff --git a/ads/core.py b/ads/core.py index <HASH>..<HASH> 100644 --- a/ads/core.py +++ b/ads/core.py @@ -266,10 +266,10 @@ class SearchQuery(BaseQuery): Represents a query to apache solr """ HTTP_ENDPOINT = SEARCH_URL + DEFAULT_FIELDS = "author,bibcode,id,year" - def __init__(self, query_dict=N...
Implement default fl as DEFAULT_FIELDS (#<I>)
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -1976,12 +1976,14 @@ def main(): # for the purpose of comparison we ignore any comments that # may be present in the versino name en...
fix issue #<I> (Too many values to unpack on a split(";"))
py
diff --git a/steam/guard.py b/steam/guard.py index <HASH>..<HASH> 100644 --- a/steam/guard.py +++ b/steam/guard.py @@ -481,7 +481,9 @@ def extract_secrets_from_android_rooted(adb_path='adb'): "'cat /data/data/com.valvesoftware.android.steam.community/files/Steamguard*'" ]) - data = data.decode('u...
android_extract func now handles extra adb output related issue #<I> * extract_secrets_from_android_rooted calling adb for the first will correctly handle the extra adb output
py
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -1495,11 +1495,7 @@ class CoincRingdownTable(table.Table): "snr": "real_8", "false_alarm_rate": "real_8" } - # FIXME: like some other tables here, this t...
correct ringdown event_id's to work with coinc tables
py
diff --git a/synapse/cryotank.py b/synapse/cryotank.py index <HASH>..<HASH> 100644 --- a/synapse/cryotank.py +++ b/synapse/cryotank.py @@ -394,12 +394,9 @@ class CryoUser(s_neuron.CellUser): ''' _chunksize = 10000 def __init__(self, auth, addr, timeout=None): - s_neuron.CellUser.__init__(self, a...
Removed call to raise HitMaxTime in CryoUser ctor as CellUserErr will be raised
py
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index <HASH>..<HASH> 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1349,9 +1349,16 @@ class easy_install(Command): def get_site_dirs(): - # return a list of 'site' dirs - sitedi...
Nicer syntax for processing PYTHONPATH
py
diff --git a/openupgradelib/openupgrade_merge_records.py b/openupgradelib/openupgrade_merge_records.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade_merge_records.py +++ b/openupgradelib/openupgrade_merge_records.py @@ -419,6 +419,9 @@ def _change_generic(env, model_name, record_ids, target_record_id, ...
[FIX] merge_records: assure columns exist in _change_generic
py
diff --git a/synapse/cores/common.py b/synapse/cores/common.py index <HASH>..<HASH> 100644 --- a/synapse/cores/common.py +++ b/synapse/cores/common.py @@ -330,6 +330,21 @@ class Cortex(EventBus): ''' self.sizebymeths[name] = meth + def getTufoById(self, iden): + ''' + Retrieve a tuf...
added getTufoById() API to cortex instances
py
diff --git a/bibliopixel/animation/base.py b/bibliopixel/animation/base.py index <HASH>..<HASH> 100644 --- a/bibliopixel/animation/base.py +++ b/bibliopixel/animation/base.py @@ -82,8 +82,9 @@ class BaseAnimation(object): self.sleep_time = self.runner.sleep_time self._led.animation_sleep_time = se...
Create the animation thread as late as possible.
py
diff --git a/ccmlib/cluster.py b/ccmlib/cluster.py index <HASH>..<HASH> 100644 --- a/ccmlib/cluster.py +++ b/ccmlib/cluster.py @@ -448,8 +448,8 @@ class Cluster(object): 'keystore_password' : 'cassandra' } - # determine if truststore client encryption options should be enabled - truststore_f...
Fix whitespace issue from #<I> merge
py
diff --git a/AdvancedHTMLParser/Parser.py b/AdvancedHTMLParser/Parser.py index <HASH>..<HASH> 100755 --- a/AdvancedHTMLParser/Parser.py +++ b/AdvancedHTMLParser/Parser.py @@ -101,6 +101,7 @@ class AdvancedHTMLParser(HTMLParser): Internal for parsing ''' tagName = tagName.lower() + ...
Continuation of <I>e4c<I>c<I>fea1cfe<I>fbb<I>b<I>
py
diff --git a/swauth/middleware.py b/swauth/middleware.py index <HASH>..<HASH> 100644 --- a/swauth/middleware.py +++ b/swauth/middleware.py @@ -192,6 +192,8 @@ class Swauth(object): will be routed through the internal auth request handler (self.handle). This is to handle creating users, accounts, grant...
Using keystone at same time.
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,7 +44,11 @@ def app(): def stable_langdetect(app): """Ensure that ``langdetect`` always returns the same thing. - See: https://github.com/Mimino666/langdetect#basic-usage.""" ...
tests: make stable_langdetect idempotent
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ def run_setup(exts): description="Industrial-strength NLP", author='Matthew Honnibal', author_email='honnibal@gmail.com', - version='0.26', + version='0.27', url...
* Inc version --- last didn't pack the correct cpp files.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ setup(name='bika.lims', 'collective.wtf', 'WeasyPrint==0.19.2', 'collective.progressbar', + 'lingua', ], extras_require={ 'test': [ @@ -50,6 +51...
Add message_extractors and lingua to setup.py
py
diff --git a/jira/client.py b/jira/client.py index <HASH>..<HASH> 100644 --- a/jira/client.py +++ b/jira/client.py @@ -2306,8 +2306,9 @@ class JIRA(object): from requests_kerberos import HTTPKerberosAuth from requests_kerberos import OPTIONAL - mutual_authentication = OPTIONAL - if ker...
Make OPTIONAL default and allowed value of mutual_authentication Before this change Kerberos authentication worked only if Kerberos option mutual_authentication was explicitly set to DISABLED. OPTIONAL was not default value anymore but it wasn't among allowed values of mutual_authentication. Therefore these authentica...
py
diff --git a/pypet/tests/integration/environment_multiproc_test.py b/pypet/tests/integration/environment_multiproc_test.py index <HASH>..<HASH> 100644 --- a/pypet/tests/integration/environment_multiproc_test.py +++ b/pypet/tests/integration/environment_multiproc_test.py @@ -144,7 +144,6 @@ class CapTest(EnvironmentTest...
FIX: fixed CapTest to comply with new config rules;
py
diff --git a/rinoh/font/type1.py b/rinoh/font/type1.py index <HASH>..<HASH> 100644 --- a/rinoh/font/type1.py +++ b/rinoh/font/type1.py @@ -18,6 +18,7 @@ from . import Font, GlyphMetrics, LeafGetter from .style import MEDIUM, UPRIGHT, NORMAL from .style import SMALL_CAPITAL, OLD_STYLE from .mapping import UNICODE_TO...
Cache AdobeFontMetrics.get_glyph for another small performance boost
py
diff --git a/visidata/fill.py b/visidata/fill.py index <HASH>..<HASH> 100644 --- a/visidata/fill.py +++ b/visidata/fill.py @@ -9,14 +9,14 @@ def fillNullValues(vd, col, rows): oldvals = [] # for undo isNull = col.sheet.isNullFunc() n = 0 - rowsToFill = list(rows) + rowsToFill = [id(r) for r in rows...
[setcol-fill] use row identity to identify selected rows For jsonl, empty rows are identical ({}), and if one is selected, previously it would result in all of them being filled. They would all pass `if rows in rowsToFill`. Switching to object id is more accurate. Closes #<I>
py
diff --git a/bin/cloud_watch_client.py b/bin/cloud_watch_client.py index <HASH>..<HASH> 100644 --- a/bin/cloud_watch_client.py +++ b/bin/cloud_watch_client.py @@ -28,7 +28,7 @@ import time pkg_resources.require('boto>=2.33.0') VERSION = '2.0.1-beta' -META_DATA_CACHE_DIR = os.environ.get('AWS_EC2CW_META_DATA', '/var...
use /tmp for caching, so that autoscaling instances don't use their template's cache
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ with open("README.rst", "r") as f: setuptools.setup( name="metaextract", - version="0.0.2", + version="0.0.3", license="Apache-2.0", description="get metadata for python modules", lo...
Post release version bump to <I>
py
diff --git a/src/foremast/dns/create_dns.py b/src/foremast/dns/create_dns.py index <HASH>..<HASH> 100644 --- a/src/foremast/dns/create_dns.py +++ b/src/foremast/dns/create_dns.py @@ -74,6 +74,8 @@ class SpinnakerDns: for zone_id in zone_ids: self.log.debug('zone_id: %s', zone_id) + # ...
chore: TODO to retry DNS boto3 call
py
diff --git a/trading_calendars/exchange_calendar_xtae.py b/trading_calendars/exchange_calendar_xtae.py index <HASH>..<HASH> 100644 --- a/trading_calendars/exchange_calendar_xtae.py +++ b/trading_calendars/exchange_calendar_xtae.py @@ -118,7 +118,7 @@ class XTAEExchangeCalendar(TradingCalendar): pd.Timestam...
Fix <I> election day year.
py
diff --git a/lib/autokey/qtapp.py b/lib/autokey/qtapp.py index <HASH>..<HASH> 100644 --- a/lib/autokey/qtapp.py +++ b/lib/autokey/qtapp.py @@ -107,11 +107,17 @@ class Application(QApplication): self.handler = CallbackEventHandler() parser = generate_argument_parser() self.args = parser.parse_...
Qt: Create the autokey folders in the user home directory during startup before accessing them.
py
diff --git a/GEOparse/GEOTypes.py b/GEOparse/GEOTypes.py index <HASH>..<HASH> 100755 --- a/GEOparse/GEOTypes.py +++ b/GEOparse/GEOTypes.py @@ -518,7 +518,7 @@ class GSM(SimpleGEO): # Setup the query ftpaddres = ("ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/" - "ByExp/s...
Fixed the FTP link. Apparently, NCBI has changed the FTP directory structure, see <URL>
py
diff --git a/rest_framework_serializer_field_permissions/tests/runtests.py b/rest_framework_serializer_field_permissions/tests/runtests.py index <HASH>..<HASH> 100644 --- a/rest_framework_serializer_field_permissions/tests/runtests.py +++ b/rest_framework_serializer_field_permissions/tests/runtests.py @@ -62,7 +62,11 @...
Fix Django<I> test run incompatibility.
py
diff --git a/ReText/editor.py b/ReText/editor.py index <HASH>..<HASH> 100644 --- a/ReText/editor.py +++ b/ReText/editor.py @@ -140,7 +140,7 @@ class ReTextEdit(QTextEdit): metrics = self.fontMetrics() self.marginx = (int(self.document().documentMargin()) + metrics.horizontalAdvance(' ' * globalSettings.rightM...
Replace QTextEdit::setTabStopWidth with QTextEdit::setTabStopDistance Which is its new name since Qt <I>.
py
diff --git a/optalg/opt_solver/clp_cmd.py b/optalg/opt_solver/clp_cmd.py index <HASH>..<HASH> 100644 --- a/optalg/opt_solver/clp_cmd.py +++ b/optalg/opt_solver/clp_cmd.py @@ -53,7 +53,8 @@ class OptSolverClpCMD(OptSolver): x = np.zeros(problem.c.size) for l in f: l = l.split() - ...
- fixed bug with clp cmd read sol
py
diff --git a/ipynb/utils.py b/ipynb/utils.py index <HASH>..<HASH> 100644 --- a/ipynb/utils.py +++ b/ipynb/utils.py @@ -11,11 +11,17 @@ def validate_nb(nb): Validate that given notebook JSON is importable - Check for nbformat == 4 - - Check that language is python3 + - Check that language is python ...
get language from kernelspec.language rather than kernelspec name, which can vary for a given language
py
diff --git a/openquake/java.py b/openquake/java.py index <HASH>..<HASH> 100644 --- a/openquake/java.py +++ b/openquake/java.py @@ -112,6 +112,7 @@ class JavaLoggingBridge(object): # don't try to map it to python level and don't # check if python logger was enabled for it level = e...
show a warning every time non-standard java logging level is used Former-commit-id: f<I>fb<I>e<I>cf1c7a<I>d<I>ebb<I>
py
diff --git a/vingd/__init__.py b/vingd/__init__.py index <HASH>..<HASH> 100644 --- a/vingd/__init__.py +++ b/vingd/__init__.py @@ -1,7 +1,7 @@ """Vingd API interface client.""" __title__ = 'vingd-api-python' -__version__ = '0.1.6' +__version__ = '0.1.7' __author__ = 'Radomir Stevanovic' __author_email__ = 'radomi...
bumped to <I>
py
diff --git a/src/concurrency/api.py b/src/concurrency/api.py index <HASH>..<HASH> 100644 --- a/src/concurrency/api.py +++ b/src/concurrency/api.py @@ -111,7 +111,7 @@ class disable_concurrency(object): self.old_value = conf.ENABLED self.concurrency_managed = (model is None) or hasattr(model, '_concurr...
add start()/finish() to disable_concurrency()
py
diff --git a/ladybug/monthlychart.py b/ladybug/monthlychart.py index <HASH>..<HASH> 100644 --- a/ladybug/monthlychart.py +++ b/ladybug/monthlychart.py @@ -999,6 +999,8 @@ class MonthlyChart(object): if unit in UNITS[key]: data_types.append(TYPESDICT[key]()) bre...
style(monthlychart): Ensure MonthlyChart still works with GenericType
py
diff --git a/alot/settings.py b/alot/settings.py index <HASH>..<HASH> 100644 --- a/alot/settings.py +++ b/alot/settings.py @@ -177,13 +177,19 @@ class AlotConfigParser(FallbackConfigParser): :returns: The highlighting rules :rtype: :py:class:`collections.OrderedDict` """ - config_strin...
Handle missing highlighting rules So far exceptions were raised upon detection of an absent or syntactically invalid `thread_highlight_rules` option. This commit changes the behaviour to logging an exception and returning an empty set of rules as a fallback which will lead to the disabling of all highlighting. Cf <UR...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def read(fname): setup( name = "assembla", - version = "1.1.0", + version = "1.1.1", packages = find_packages(), install_requires = [
Bumped version to <I>
py
diff --git a/scripts/make-sne-catalog.py b/scripts/make-sne-catalog.py index <HASH>..<HASH> 100755 --- a/scripts/make-sne-catalog.py +++ b/scripts/make-sne-catalog.py @@ -313,8 +313,9 @@ for fcnt, eventfile in enumerate(sorted(files, key=lambda s: s.lower())): catalog[entry]['spectraplot'] = plotlink ...
Fixed plotting issue with LCs that had upper limits
py
diff --git a/mbuild/compound.py b/mbuild/compound.py index <HASH>..<HASH> 100644 --- a/mbuild/compound.py +++ b/mbuild/compound.py @@ -192,7 +192,15 @@ class Compound(Part): self._periodicity = np.array(periods) def view_hierarchy(self, show_ports=False): - """View a Compounds hierarchy of compou...
updated the docstring of view_hierarchy
py
diff --git a/sass_processor/management/commands/compilescss.py b/sass_processor/management/commands/compilescss.py index <HASH>..<HASH> 100644 --- a/sass_processor/management/commands/compilescss.py +++ b/sass_processor/management/commands/compilescss.py @@ -154,7 +154,11 @@ class Command(BaseCommand): callvis...
also delete css files generated for Python sources
py
diff --git a/host/pybar/scans/calibrate_pulser_dac_correction.py b/host/pybar/scans/calibrate_pulser_dac_correction.py index <HASH>..<HASH> 100644 --- a/host/pybar/scans/calibrate_pulser_dac_correction.py +++ b/host/pybar/scans/calibrate_pulser_dac_correction.py @@ -40,5 +40,5 @@ class PulserDacCorrectionCalibration(Th...
BUG: Pointed to wrong scan
py
diff --git a/patroni/ha.py b/patroni/ha.py index <HASH>..<HASH> 100644 --- a/patroni/ha.py +++ b/patroni/ha.py @@ -38,7 +38,7 @@ class Ha(object): def update_lock(self): ret = self.dcs.update_leader() - if ret: + if ret and not self._async_executor.busy: try: ...
Do not try to query xlog_location when async_executor is busy
py
diff --git a/kerncraft/kernel.py b/kerncraft/kernel.py index <HASH>..<HASH> 100755 --- a/kerncraft/kernel.py +++ b/kerncraft/kernel.py @@ -470,9 +470,12 @@ class Kernel(object): global_load_offsets = [] global_store_offsets = [] - if not isinstance(iteration, collections.Sequence): - ...
improved speed of iteration number conversion
py
diff --git a/openquake/commonlib/rlzs_assoc.py b/openquake/commonlib/rlzs_assoc.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/rlzs_assoc.py +++ b/openquake/commonlib/rlzs_assoc.py @@ -115,9 +115,9 @@ class RlzsAssoc(object): else: # dictionary for the selected source model for rlz in s...
Retried simplifying get_rlzs_by_gsim
py
diff --git a/tests/integration/test_http.py b/tests/integration/test_http.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_http.py +++ b/tests/integration/test_http.py @@ -68,14 +68,8 @@ class TestHTTP(object): def test_WebSocketClient(): - from vanilla.core import WebSocket - h = vanilla.Hub() ...
fix up websocket integration tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ requirements = [ # Protocol and data packages "pytmpdir >= 0.2.3", # A temporary directory, useful for extracting archives to - "txhttputil >= 0.2.4", # Utility class for http requests + ...
Updated txhttputil dependency
py
diff --git a/tests/test_metadata.py b/tests/test_metadata.py index <HASH>..<HASH> 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -5,6 +5,9 @@ from pikepdf import Pdf, Dictionary, Name, PasswordError from pikepdf.models.metadata import decode_pdf_date, encode_pdf_date +pytestmark = pytest.mark....
Suppress XMLParser() warnings (triggered by defusedxml; what can we do?)
py
diff --git a/IPython/html/widgets/widget_button.py b/IPython/html/widgets/widget_button.py index <HASH>..<HASH> 100644 --- a/IPython/html/widgets/widget_button.py +++ b/IPython/html/widgets/widget_button.py @@ -53,7 +53,7 @@ class ButtonWidget(Widget): Set to true to remove the callback from the list of ca...
Fixed widget button onclick register so it only will ever register a callback once.
py
diff --git a/abydos/phonetic/_double_metaphone.py b/abydos/phonetic/_double_metaphone.py index <HASH>..<HASH> 100644 --- a/abydos/phonetic/_double_metaphone.py +++ b/abydos/phonetic/_double_metaphone.py @@ -232,7 +232,7 @@ class DoubleMetaphone(_Phonetic): current = 0 length = len(word) if le...
DM should always return 2 values, even if both are empty
py
diff --git a/etesync/api.py b/etesync/api.py index <HASH>..<HASH> 100644 --- a/etesync/api.py +++ b/etesync/api.py @@ -68,7 +68,7 @@ class EteSync: del existing[journal.uid] else: journal = cache.JournalEntity(owner=self.user, version=entry.version, uid=entry.uid) - ...
Api: Encode/decode the content of the encrypted journal when fetching/setting.
py
diff --git a/gpiozero/pins/pigpio.py b/gpiozero/pins/pigpio.py index <HASH>..<HASH> 100644 --- a/gpiozero/pins/pigpio.py +++ b/gpiozero/pins/pigpio.py @@ -315,8 +315,8 @@ class PiGPIOPin(PiPin): def _set_bounce(self, value): if value is None: value = 0 - elif value < 0: - ra...
Clearer error message for invalid bounce values The factory.connection.set_glitch_filter function from pigpio has a maximum steady parameter of [<I> seconds.](<URL>) Including that limit here to eliminate the more confusing "PI_BAD_FILTER" error from the pigpio library.
py
diff --git a/dfvfs/file_io/raw_file_io.py b/dfvfs/file_io/raw_file_io.py index <HASH>..<HASH> 100644 --- a/dfvfs/file_io/raw_file_io.py +++ b/dfvfs/file_io/raw_file_io.py @@ -64,14 +64,13 @@ class RawFile(file_object_io.FileObjectIO): if not segment_file_path_specs: return None - file_objects = [...
Code clean up in RAW file IO object (#<I>)
py
diff --git a/aiohttp_apiset/dispatcher.py b/aiohttp_apiset/dispatcher.py index <HASH>..<HASH> 100644 --- a/aiohttp_apiset/dispatcher.py +++ b/aiohttp_apiset/dispatcher.py @@ -44,15 +44,17 @@ class SubLocation: @property def formatter(self): - formatters = [self._formatter] + parts = [] ...
refact sublocation.formatter
py
diff --git a/src/transformers/pipelines/__init__.py b/src/transformers/pipelines/__init__.py index <HASH>..<HASH> 100755 --- a/src/transformers/pipelines/__init__.py +++ b/src/transformers/pipelines/__init__.py @@ -410,6 +410,9 @@ def pipeline( model = get_default_model(targeted_task, framework, task_options) ...
the use_auth_token has not been set up early enough in the model_kwargs. Fixes #<I> (#<I>)
py
diff --git a/dipper/models/Reference.py b/dipper/models/Reference.py index <HASH>..<HASH> 100644 --- a/dipper/models/Reference.py +++ b/dipper/models/Reference.py @@ -89,11 +89,14 @@ class Reference: self.short_citation = citation return - def addPage(self, subject_id, page_url): + def addPage...
Fixed biolink category triple emitted by addPage()
py
diff --git a/numina/array/wavecalib/arccalibration.py b/numina/array/wavecalib/arccalibration.py index <HASH>..<HASH> 100644 --- a/numina/array/wavecalib/arccalibration.py +++ b/numina/array/wavecalib/arccalibration.py @@ -1900,6 +1900,19 @@ def refine_arccalibration(sp, poly_initial, wv_master, poldeg, ...
Display expected location of arc lines from master table
py
diff --git a/PyFunceble.py b/PyFunceble.py index <HASH>..<HASH> 100755 --- a/PyFunceble.py +++ b/PyFunceble.py @@ -2070,6 +2070,7 @@ class Referer(object): "dj", "doosan", "eg", + "eh", "et", "fk", "fm", @@ -4003,7 +4004,7 @@ if __...
Introduction of `eh` into the list of ignored extensions cf: No whois server.
py
diff --git a/easymode/utils/polib.py b/easymode/utils/polib.py index <HASH>..<HASH> 100644 --- a/easymode/utils/polib.py +++ b/easymode/utils/polib.py @@ -12,7 +12,7 @@ def po_to_unicode(po_obj): Turns a polib :class:`polib.PoFile` or a :class:`polib.PoEntry` into a :class:`unicode` string. - :param...
A backtick is different from a comma
py
diff --git a/docker-registry-show.py b/docker-registry-show.py index <HASH>..<HASH> 100755 --- a/docker-registry-show.py +++ b/docker-registry-show.py @@ -116,7 +116,10 @@ class CLI(object): print(json.dumps(manifest, indent=2, sort_keys=True)) else: image = repo.image(ref...
Example CLI tool: show V1 image JSON
py
diff --git a/speedparser/speedparser.py b/speedparser/speedparser.py index <HASH>..<HASH> 100644 --- a/speedparser/speedparser.py +++ b/speedparser/speedparser.py @@ -575,7 +575,7 @@ def parse(document, clean_html=True, unix_timestamp=False): result['entries'] = [] result['bozo'] = 0 try: - parser...
actually add changes to fix unix_timestamp feature
py
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index <HASH>..<HASH> 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -1097,7 +1097,7 @@ class _JoinOperation(object): return make_block(out, new_items, self.result_items) @staticmethod - def _upcast_blocks(self, ...
BUG: buglet, test suite passes now
py
diff --git a/tweepy/parsers.py b/tweepy/parsers.py index <HASH>..<HASH> 100644 --- a/tweepy/parsers.py +++ b/tweepy/parsers.py @@ -109,6 +109,7 @@ def parse_users(obj, api): users = [] for item in item_list: + if item is None: break # sometimes an empty list with a null in it users.append(p...
Some minor fixes to parsers.
py
diff --git a/lark/parsers/lalr_parser.py b/lark/parsers/lalr_parser.py index <HASH>..<HASH> 100644 --- a/lark/parsers/lalr_parser.py +++ b/lark/parsers/lalr_parser.py @@ -78,6 +78,7 @@ class _Parser: else: reduce(arg) + token = '<EOF>' while True: _ac...
Misleading error message at unexpected EOF (Issue #<I>)
py
diff --git a/cinderlib/persistence/base.py b/cinderlib/persistence/base.py index <HASH>..<HASH> 100644 --- a/cinderlib/persistence/base.py +++ b/cinderlib/persistence/base.py @@ -59,7 +59,7 @@ class PersistenceDriverBase(object): self.reset_change_tracker(connection) def set_key_value(self, key_value): ...
Don't raise on set_key_value and delete_key_value For consistency with the other set and delete base methods, we won't raise an exception for the key_value ones.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,7 @@ setup(name='spatialist', 'pathos>=0.2', 'numpy', 'scoop'], + python_requires='>=2.7.9', url='https://github.com/johntruckenb...
[setup.py] explicitly require Python >=<I>
py
diff --git a/graypy/handler.py b/graypy/handler.py index <HASH>..<HASH> 100644 --- a/graypy/handler.py +++ b/graypy/handler.py @@ -98,7 +98,7 @@ def make_message_dict(record, debugging_fields, extra_fields, fqdn, localname, f if facility is not None: fields.update({ - 'logger': record.name + ...
prefixing logger field with an underscore as this field is not in GELF specification, therefore should be marked as an additional field.
py
diff --git a/spinoff/component/component.py b/spinoff/component/component.py index <HASH>..<HASH> 100644 --- a/spinoff/component/component.py +++ b/spinoff/component/component.py @@ -129,7 +129,6 @@ class Component(object, Service): d.callback(None) returnValue(message) - @inlineCallbacks de...
Make 'Component.put' return nothing--it makes no sense to say when the message is delivered as there is probably a transport in between anyway
py
diff --git a/toolchain.py b/toolchain.py index <HASH>..<HASH> 100755 --- a/toolchain.py +++ b/toolchain.py @@ -278,7 +278,7 @@ class Arch(object): if self.ctx.ndk_ver == 'r5b': toolchain_prefix = 'arm-eabi' toolchain_version = '4.4.0' - elif self.ctx.ndk_ver[:2] == 'r7': + ...
Fixed toolchain version from distribute.sh
py
diff --git a/tests/AlignedSegment_test.py b/tests/AlignedSegment_test.py index <HASH>..<HASH> 100644 --- a/tests/AlignedSegment_test.py +++ b/tests/AlignedSegment_test.py @@ -231,6 +231,17 @@ class TestAlignedSegment(ReadTest): self.assertEqual(a.get_blocks(), [(20, 30), (31, 40), (40...
Added tests for test_infer_query_length
py
diff --git a/foundations/exceptions.py b/foundations/exceptions.py index <HASH>..<HASH> 100644 --- a/foundations/exceptions.py +++ b/foundations/exceptions.py @@ -22,6 +22,7 @@ import inspect import linecache import sys import traceback +import itertools #**********************************************************...
Update "foundations.exceptions.handleExceptions" decorator definition.
py
diff --git a/folium/plugins/draw.py b/folium/plugins/draw.py index <HASH>..<HASH> 100644 --- a/folium/plugins/draw.py +++ b/folium/plugins/draw.py @@ -44,8 +44,8 @@ class Draw(MacroElement): {% macro script(this, kwargs) %} var options = { position: {{ this.position|tojson }}, - ...
Fix rendering draw and edit options to json (#<I>)
py
diff --git a/delphin/mrs/dmrs.py b/delphin/mrs/dmrs.py index <HASH>..<HASH> 100644 --- a/delphin/mrs/dmrs.py +++ b/delphin/mrs/dmrs.py @@ -2,7 +2,7 @@ from .var import VarGenerator from .ep import ElementaryPredication from .hcons import qeq from .xmrs import Xmrs -from .config import (HANDLESORT, CVARSORT, LTOP_NOD...
Fixed a syntax error in the last commit in delphin.mrs.dmrs.
py
diff --git a/src/unpdfer.py b/src/unpdfer.py index <HASH>..<HASH> 100644 --- a/src/unpdfer.py +++ b/src/unpdfer.py @@ -44,7 +44,7 @@ class UnPDFer: pdftext,success = self._pdf2text(fp) if SCRUB: pdftext = self._scrubtext(pdftext) - pdfhash = hashlib.md5(pdftext).hex...
changed to hash the binary rather than the pdf text to remove possibility of inconsistant conversion issues
py
diff --git a/aiortc/contrib/media.py b/aiortc/contrib/media.py index <HASH>..<HASH> 100644 --- a/aiortc/contrib/media.py +++ b/aiortc/contrib/media.py @@ -198,7 +198,7 @@ class MediaPlayer: # check whether we need to throttle playback container_format = set(self.__container.format.name.split(',')) ...
[contrib.media] don't throttle RTSP playback
py
diff --git a/bindings/kepler.gl-jupyter/keplergl/keplergl.py b/bindings/kepler.gl-jupyter/keplergl/keplergl.py index <HASH>..<HASH> 100644 --- a/bindings/kepler.gl-jupyter/keplergl/keplergl.py +++ b/bindings/kepler.gl-jupyter/keplergl/keplergl.py @@ -34,11 +34,12 @@ def _gdf_to_dict(gdf): # will cause error if dat...
[Jupyter] Convert to gdf to a dataframe instead of a copy (#<I>)
py
diff --git a/openquake/commonlib/datastore.py b/openquake/commonlib/datastore.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/datastore.py +++ b/openquake/commonlib/datastore.py @@ -19,6 +19,7 @@ import os import re import shutil +import logging from openquake.baselib.python3compat import pickle import co...
Small change in symlink management
py
diff --git a/build-support/bin/generate_user_list.py b/build-support/bin/generate_user_list.py index <HASH>..<HASH> 100644 --- a/build-support/bin/generate_user_list.py +++ b/build-support/bin/generate_user_list.py @@ -69,6 +69,11 @@ _orgs = ( Org("iManage", "https://imanage.com/", "https://files.readme.io/0f7b5f6...
Add Orca to users list (#<I>) [ci skip-rust] [ci skip-build-wheels]
py
diff --git a/salt/modules/status.py b/salt/modules/status.py index <HASH>..<HASH> 100644 --- a/salt/modules/status.py +++ b/salt/modules/status.py @@ -7,6 +7,7 @@ These data can be useful for compiling into stats later. # Import python libs from __future__ import absolute_import +import datetime import os import ...
Adding a time function to the status module to return the current date & time on the system
py