diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/bdates/__init__.py b/bdates/__init__.py index <HASH>..<HASH> 100644 --- a/bdates/__init__.py +++ b/bdates/__init__.py @@ -77,10 +77,10 @@ global patterns generate_patterns() def get_date_from_match_group(match): - print "starting get_date_from_match_group with ", match - print dir(match) - pri...
removed prints from __init__
py
diff --git a/uni_form/templatetags/uni_form_field.py b/uni_form/templatetags/uni_form_field.py index <HASH>..<HASH> 100644 --- a/uni_form/templatetags/uni_form_field.py +++ b/uni_form/templatetags/uni_form_field.py @@ -16,9 +16,15 @@ def with_class(field): class_name = field.field.widget.__class__.__name__.lower()...
Implemented a fix for when too many classes are added to a form field under certain conditions
py
diff --git a/uncompyle6/parsers/parse36.py b/uncompyle6/parsers/parse36.py index <HASH>..<HASH> 100644 --- a/uncompyle6/parsers/parse36.py +++ b/uncompyle6/parsers/parse36.py @@ -41,6 +41,8 @@ class Python36Parser(Python35Parser): whilestmt ::= setup_loop testexpr l_stmts_opt jump_back POP_BLOCK ...
Fix broken CI on <I>... Another grammar rule replacing SETUP_LOOP with setup_loop
py
diff --git a/pypsa/linopf.py b/pypsa/linopf.py index <HASH>..<HASH> 100644 --- a/pypsa/linopf.py +++ b/pypsa/linopf.py @@ -716,9 +716,10 @@ def assign_solution(n, sns, variables_sol, constraints_dual, # or n.df(c). For the second case the index of the constraints have to # be a subset of n.df(c).index...
linopf: again, fix dual sign (a general rule is still unlclear)
py
diff --git a/test/geocoders/baidu.py b/test/geocoders/baidu.py index <HASH>..<HASH> 100644 --- a/test/geocoders/baidu.py +++ b/test/geocoders/baidu.py @@ -43,18 +43,6 @@ class BaiduTestCase(GeocoderTestBase): {"latitude": 39.983615544507, "longitude": 116.32295155093}, ) - def test_reverse_ad...
Baidu tests: remove an incorrect reverse geocoding test This is obviously a forward geocoding request. Also the same address is tested in a test above the removed one.
py
diff --git a/grace/create.py b/grace/create.py index <HASH>..<HASH> 100644 --- a/grace/create.py +++ b/grace/create.py @@ -20,6 +20,11 @@ def get_path(): class New: def __init__(self, projectName, pluginName='default'): + self._projectName = projectName + self._root = get_path() + self._cwd...
Main Program Fixed a problem with creating a new project. Variables were used before they were assigned.
py
diff --git a/deploy_stack.py b/deploy_stack.py index <HASH>..<HASH> 100755 --- a/deploy_stack.py +++ b/deploy_stack.py @@ -504,7 +504,6 @@ def _deploy_job(job_name, base_env, upgrade, charm_prefix, bootstrap_host, client, host, log_dir, host_id=bootstrap_id) sys.exit(1)...
Destroy environment when status is broken.
py
diff --git a/ordbok/__init__.py b/ordbok/__init__.py index <HASH>..<HASH> 100644 --- a/ordbok/__init__.py +++ b/ordbok/__init__.py @@ -156,7 +156,7 @@ class Ordbok(dict): self.custom_config_files = (kwargs.get('custom_config_files') or self.custom_config_files) sel...
near-miss-bug: fix bug
py
diff --git a/deltas/about.py b/deltas/about.py index <HASH>..<HASH> 100644 --- a/deltas/about.py +++ b/deltas/about.py @@ -1,5 +1,5 @@ __name__ = "deltas" -__version__ = "0.4.6" +__version__ = "0.4.7" __author__ = "Aaron Halfaker" __author_email__ = "aaron.halfaker@gmail.com" __description__ = "An experimental diff...
Increments version to <I>
py
diff --git a/graphene/__init__.py b/graphene/__init__.py index <HASH>..<HASH> 100644 --- a/graphene/__init__.py +++ b/graphene/__init__.py @@ -10,7 +10,7 @@ except NameError: __SETUP__ = False -VERSION = (1, 1, 3, 'final', 0) +VERSION = (1, 2, 0, 'final', 0) __version__ = get_version(VERSION)
Updated graphene version to <I>
py
diff --git a/demo_and_tests/demo_project/settings.py b/demo_and_tests/demo_project/settings.py index <HASH>..<HASH> 100644 --- a/demo_and_tests/demo_project/settings.py +++ b/demo_and_tests/demo_project/settings.py @@ -52,7 +52,3 @@ TEST_FILES_DIR = os.path.join(BASE_DIR, 'files_for_testing') TEST_RUNNER = 'django_n...
attempt to show source on coveralls
py
diff --git a/angr/analyses/reaching_definitions/engine_ail.py b/angr/analyses/reaching_definitions/engine_ail.py index <HASH>..<HASH> 100644 --- a/angr/analyses/reaching_definitions/engine_ail.py +++ b/angr/analyses/reaching_definitions/engine_ail.py @@ -192,7 +192,7 @@ class SimEngineRDAIL( used_exprs = [...
arch.registers maps to a tuple
py
diff --git a/pre_commit/xargs.py b/pre_commit/xargs.py index <HASH>..<HASH> 100644 --- a/pre_commit/xargs.py +++ b/pre_commit/xargs.py @@ -25,7 +25,7 @@ def _environ_size(_env=None): def _get_platform_max_length(): # pragma: no cover (platform specific) if os.name == 'posix': maximum = os.sysconf(str('S...
Bound maxsize by <I> when SC_ARG_MAX is not present
py
diff --git a/pysat/_params.py b/pysat/_params.py index <HASH>..<HASH> 100644 --- a/pysat/_params.py +++ b/pysat/_params.py @@ -250,8 +250,13 @@ class Parameters(object): # Account for a user prefix in the path, such as ~ paths = [os.path.expanduser(path) for path in paths] + # Account for t...
BUG: Added path normalization
py
diff --git a/dwm/dwmmain.py b/dwm/dwmmain.py index <HASH>..<HASH> 100644 --- a/dwm/dwmmain.py +++ b/dwm/dwmmain.py @@ -35,7 +35,7 @@ UDF_POSITIONS = ['beforeGenericValLookup', 'beforeGenericValRegex', class Dwm(object): """ class for DWM config """ - def __init__(self, name, mongo, fields=None, udfs=None): +...
added changes to field mgmt to feature branch
py
diff --git a/pysc2/bin/agent.py b/pysc2/bin/agent.py index <HASH>..<HASH> 100755 --- a/pysc2/bin/agent.py +++ b/pysc2/bin/agent.py @@ -90,12 +90,13 @@ def _main(unused_argv): agent_cls = getattr(importlib.import_module(agent_module), agent_name) threads = [] - for i in range(FLAGS.parallel): - t = threading...
PySC2: Import of refs/pull/<I>/head Move UI rendering to main thread for OSX compatibility PiperOrigin-RevId: <I>
py
diff --git a/categories/models.py b/categories/models.py index <HASH>..<HASH> 100644 --- a/categories/models.py +++ b/categories/models.py @@ -38,19 +38,23 @@ class Category(MPTTModel): default="", help_text="(Advanced) Any additional HTML to be placed verbatim in the &lt;head&gt;") - d...
Added a Meta class for proper plural naming
py
diff --git a/formats/gff.py b/formats/gff.py index <HASH>..<HASH> 100644 --- a/formats/gff.py +++ b/formats/gff.py @@ -35,7 +35,10 @@ valid_gff_parent_child = {"match": "match_part", "protein_match": "match_part", "transposable_element": "transposon_fragment", ...
+ Fix valid GFF parent child features in formats/gff.py
py
diff --git a/cwltool/cwltest.py b/cwltool/cwltest.py index <HASH>..<HASH> 100755 --- a/cwltool/cwltest.py +++ b/cwltool/cwltest.py @@ -25,9 +25,13 @@ class CompareFail(Exception): def compare(a, b): # type: (Any, Any) -> bool + if a == "Any" or b == "Any": + return True try: if isinstance(...
Allow "Any" in tests for flexibility
py
diff --git a/editor/editor.py b/editor/editor.py index <HASH>..<HASH> 100644 --- a/editor/editor.py +++ b/editor/editor.py @@ -355,6 +355,14 @@ class Editor(App): return false;""" % {'evt':self.EVENT_ONDROPPPED} self.project.attributes['editor_varname'] = 'App' + self....
Editor_app widgets deletetion ability on delete key.
py
diff --git a/scenarios/kubernetes_janitor.py b/scenarios/kubernetes_janitor.py index <HASH>..<HASH> 100755 --- a/scenarios/kubernetes_janitor.py +++ b/scenarios/kubernetes_janitor.py @@ -140,7 +140,7 @@ def main(mode): """Run janitor for each project.""" if mode == 'pr': check_predefine_jobs(PR_PROJE...
fix pr janitor also checking ci resources now
py
diff --git a/py/testdir_single_jvm/test_GLMGrid_basic.py b/py/testdir_single_jvm/test_GLMGrid_basic.py index <HASH>..<HASH> 100644 --- a/py/testdir_single_jvm/test_GLMGrid_basic.py +++ b/py/testdir_single_jvm/test_GLMGrid_basic.py @@ -41,8 +41,8 @@ class Basic(unittest.TestCase): print "y:", y ...
remove xvals of 2..fails unable to solve (maybe due to sampling issues..small dataset)
py
diff --git a/ereuse_utils/cli.py b/ereuse_utils/cli.py index <HASH>..<HASH> 100644 --- a/ereuse_utils/cli.py +++ b/ereuse_utils/cli.py @@ -11,7 +11,7 @@ from typing import Any, Iterable, Type from boltons import urlutils from click import types as click_types from colorama import Fore -from tqdm._tqdm import tqdm +f...
Import tqdm from public package Regression introduced by b2e<I>b8d<I>fefbcd<I>cacce<I>bbd<I>a8
py
diff --git a/lambdaJSON.py b/lambdaJSON.py index <HASH>..<HASH> 100644 --- a/lambdaJSON.py +++ b/lambdaJSON.py @@ -11,6 +11,10 @@ flatten = lambda obj: (isinstance(obj, bytes) and (b'bytes://'+obj).decode('utf8') or isinstance(obj, tuple) ...
Added support for set and frozenset.
py
diff --git a/calysto/ai/conx.py b/calysto/ai/conx.py index <HASH>..<HASH> 100644 --- a/calysto/ai/conx.py +++ b/calysto/ai/conx.py @@ -1,3 +1,4 @@ +from __future__ import print_function """ ----------------------------------------------------
conx: doctest changes to pass python2
py
diff --git a/stripe/resource.py b/stripe/resource.py index <HASH>..<HASH> 100644 --- a/stripe/resource.py +++ b/stripe/resource.py @@ -550,6 +550,11 @@ class Customer(CreateableAPIResource, UpdateableAPIResource, return charges def update_subscription(self, idempotency_key=None, **params): + warn...
Add deprecation warnings for old customer subscription methods
py
diff --git a/omp/__init__.py b/omp/__init__.py index <HASH>..<HASH> 100644 --- a/omp/__init__.py +++ b/omp/__init__.py @@ -24,7 +24,7 @@ class omp(object): for path in paths: if libgomp_path: break - libgomp_path = ctypes.util.find_library(path+"gomp") + libg...
OpenMP shared library loading, fix bug introduced in 0b<I> ctypes.util.find_library needs the lib prefix when using absolute path.
py
diff --git a/androguard/core/androconf.py b/androguard/core/androconf.py index <HASH>..<HASH> 100644 --- a/androguard/core/androconf.py +++ b/androguard/core/androconf.py @@ -25,9 +25,9 @@ def is_ascii_problem(s): :return: True if string contains other chars than ASCII, False otherwise """ try: - ...
Make ascii detection compatible with Python3
py
diff --git a/models/relations/relations_queries.py b/models/relations/relations_queries.py index <HASH>..<HASH> 100644 --- a/models/relations/relations_queries.py +++ b/models/relations/relations_queries.py @@ -272,13 +272,18 @@ class RelationsQueries: :param pack_ancestor: pack the ancestors relations. ...
Added the root paradigm property to the relations listing enpoint
py
diff --git a/tensorlayer/layers.py b/tensorlayer/layers.py index <HASH>..<HASH> 100644 --- a/tensorlayer/layers.py +++ b/tensorlayer/layers.py @@ -311,7 +311,8 @@ class Layer(object): name = scope_name + '/' + name if (name in set_keep['_layers_name_list']) and set_keep['name_reuse'] == False: ...
Update layer API for issue #<I> with backlink to documentation
py
diff --git a/invenio_deposit/api.py b/invenio_deposit/api.py index <HASH>..<HASH> 100644 --- a/invenio_deposit/api.py +++ b/invenio_deposit/api.py @@ -142,9 +142,13 @@ class Deposit(Record): deposit_minter(id_, data) data['_deposit'].setdefault('owners', list()) - owner = getattr(current_...
deposit: created_by population on create * Stores the ID of a deposit's creator to the created_by field. (addresses #<I>)
py
diff --git a/push_notifications/apns.py b/push_notifications/apns.py index <HASH>..<HASH> 100644 --- a/push_notifications/apns.py +++ b/push_notifications/apns.py @@ -90,7 +90,7 @@ def _apns_check_errors(sock): assert command == 8, "Command must be 8!" if status != 0: raise APNSServerError(status, identifi...
handle timeout in apns feedback socket with python 3
py
diff --git a/autobahn_sync/core.py b/autobahn_sync/core.py index <HASH>..<HASH> 100644 --- a/autobahn_sync/core.py +++ b/autobahn_sync/core.py @@ -51,13 +51,12 @@ class AutobahnSync(object): return self._session def run_in_twisted(self, callback=None, url=DEFAULT_AUTOBAHN_ROUTER, - ...
Remove useless blocking options in run_in_twisted
py
diff --git a/bika/lims/browser/analysisrequest/publish.py b/bika/lims/browser/analysisrequest/publish.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/analysisrequest/publish.py +++ b/bika/lims/browser/analysisrequest/publish.py @@ -123,6 +123,12 @@ class AnalysisRequestPublishView(BrowserView): """ ...
Add function to get the formatted dicts for grouped ARs
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -1210,7 +1210,7 @@ class LazyLoader(salt.utils.lazy.LazyDict): files = sorted(os.listdir(mod_dir)) except OSError: continue # Next mod_dir - if...
EAFP If the __pycache__ dir is not present, we will get an OSError, which we are already catching and ignoring. No need to check for that dir.
py
diff --git a/billboard.py b/billboard.py index <HASH>..<HASH> 100644 --- a/billboard.py +++ b/billboard.py @@ -240,8 +240,12 @@ class ChartData: nextWeek = soup.select_one(_NEXT_DATE_SELECTOR) if prevWeek and prevWeek.parent.get("href"): self.previousDate = prevWeek.parent.get("href").spl...
Set dates to null if at chart max or min
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ author = "The Font Bakery Authors" # The short X.Y version version = "0.7" # The full version, including alpha/beta/rc tags -release = "0.7.14" +release = "0.7.15" ...
update version on docs/source/conf.py
py
diff --git a/gromacs/version.py b/gromacs/version.py index <HASH>..<HASH> 100644 --- a/gromacs/version.py +++ b/gromacs/version.py @@ -8,7 +8,7 @@ VERSION = 0,7,0 #: Set to ``True`` for a release. If set to ``False`` then the patch level #: will have the suffix "-dev". -RELEASE = True +RELEASE = False if not RELEAS...
set RELEASE to False (oops)
py
diff --git a/bika/lims/browser/invoicefolder.py b/bika/lims/browser/invoicefolder.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/invoicefolder.py +++ b/bika/lims/browser/invoicefolder.py @@ -69,6 +69,8 @@ class InvoiceFolderContentsView(BikaListingView): self.contentsMethod = self.getInvoiceBatches ...
Fix missing attribute check from <I>bd<I>
py
diff --git a/octodns/provider/dyn.py b/octodns/provider/dyn.py index <HASH>..<HASH> 100644 --- a/octodns/provider/dyn.py +++ b/octodns/provider/dyn.py @@ -529,6 +529,7 @@ class DynProvider(BaseProvider): return [{ 'flags': v.flags, 'tag': v.tag, + 'ttl': record.ttl, ...
Include TTL in Dyn CCA record values
py
diff --git a/pyang/xpath_parser.py b/pyang/xpath_parser.py index <HASH>..<HASH> 100644 --- a/pyang/xpath_parser.py +++ b/pyang/xpath_parser.py @@ -354,4 +354,4 @@ precedence = ( tokens = xpath_lexer.token_defs() lexer = xpath_lexer.XPathLexer() -parser = yacc.yacc(tabmodule="xpath_parsetab", debug=False) +parser = ...
Disable writing of Yacc parse tables to files When multiple Pyang instances are run in parallel, one instance may overwrite the parse table files at the same time they are read by another instance. Consequently, the second instance crashes when failing to interpret truncated Python code. By disabling writing tables to...
py
diff --git a/ropetest/refactor/extracttest.py b/ropetest/refactor/extracttest.py index <HASH>..<HASH> 100644 --- a/ropetest/refactor/extracttest.py +++ b/ropetest/refactor/extracttest.py @@ -1762,6 +1762,30 @@ class ExtractMethodTest(unittest.TestCase): """) self.assertEqual(expected, refactored) + ...
test(extract-method) recreating bug: Unable do extract method with try and subscriptable refs #<I>
py
diff --git a/ck/kernel.py b/ck/kernel.py index <HASH>..<HASH> 100644 --- a/ck/kernel.py +++ b/ck/kernel.py @@ -2476,7 +2476,8 @@ def perform_remote_action(i): # Try to convert output to dictionary r=convert_json_str_to_dict({'str':s, 'skip_quote_replacement':'yes'}) if r['return']>0: - ...
fixing bug with printing json from remote repo
py
diff --git a/danceschool/core/mixins.py b/danceschool/core/mixins.py index <HASH>..<HASH> 100644 --- a/danceschool/core/mixins.py +++ b/danceschool/core/mixins.py @@ -286,8 +286,8 @@ class PluginTemplateMixin(object): ''' Add Select2 custom behavior only if user has permissions to need it. ''' ...
Fixed outdated reference to select2 static files.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ setup_info = dict( install_requires=[ 'tqdm', 'requests', pytorch_package_dep, 'numpy' ], - python_requires='>=3.5', + python_requires='>=3.7', classifiers=[ 'Programming L...
<I> is EOL (#<I>)
py
diff --git a/safe/gui/tools/print_report_dialog.py b/safe/gui/tools/print_report_dialog.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/print_report_dialog.py +++ b/safe/gui/tools/print_report_dialog.py @@ -379,9 +379,9 @@ class PrintReportDialog(QtGui.QDialog, FORM_CLASS): self.dock.show_busy() ...
fix infographic show up instead the custom map report when printing report
py
diff --git a/salt/proxy/junos.py b/salt/proxy/junos.py index <HASH>..<HASH> 100644 --- a/salt/proxy/junos.py +++ b/salt/proxy/junos.py @@ -94,7 +94,8 @@ def init(opts): 'auto_probe', 'ssh_private_key_file', 'ssh_config', - 'normalize'...
pass on huge_tree to PyEZ
py
diff --git a/palladium/tests/test_util.py b/palladium/tests/test_util.py index <HASH>..<HASH> 100644 --- a/palladium/tests/test_util.py +++ b/palladium/tests/test_util.py @@ -315,9 +315,11 @@ class TestProcessStore: def test_mtime_setitem(self, store): dt0 = datetime.now() store['somekey'] = '1' ...
Test for mtime of ProcessStore is somtimes too fast, added sleep.
py
diff --git a/MAVProxy/modules/mavproxy_tracker.py b/MAVProxy/modules/mavproxy_tracker.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_tracker.py +++ b/MAVProxy/modules/mavproxy_tracker.py @@ -173,6 +173,8 @@ class TrackerModule(mp_module.MPModule): m = mavutil.mavlink_connection(self.tracker_set...
tracker: added tracker.tlog logging
py
diff --git a/octodns/record/geo_data.py b/octodns/record/geo_data.py index <HASH>..<HASH> 100644 --- a/octodns/record/geo_data.py +++ b/octodns/record/geo_data.py @@ -55,7 +55,7 @@ geo_data = \ 'SO': {'name': 'Somalia'}, 'SS': {'name': 'South Sudan'}, 'ST': {'name': 'Sao Tome and ...
Update geo_data to pick up a couple renames
py
diff --git a/tests/test_folium.py b/tests/test_folium.py index <HASH>..<HASH> 100644 --- a/tests/test_folium.py +++ b/tests/test_folium.py @@ -34,10 +34,7 @@ except ImportError: rootpath = os.path.abspath(os.path.dirname(__file__)) # For testing remote requests -remote_url = '/'.join([ - 'https://raw.githubuserc...
tests/style: keep URL on one line
py
diff --git a/matplotlib2tikz.py b/matplotlib2tikz.py index <HASH>..<HASH> 100644 --- a/matplotlib2tikz.py +++ b/matplotlib2tikz.py @@ -719,7 +719,7 @@ def _transform_to_data_coordinates(obj, xdata, ydata): points = numpy.array(zip(xdata, ydata)) transform = matplotlib.transforms.composite_transform_fa...
remove usage of get_axes() It's being deprecated.
py
diff --git a/tests/test_data.py b/tests/test_data.py index <HASH>..<HASH> 100755 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -44,12 +44,12 @@ class DeloreanTests(TestCase): def test_initialize_with_tzinfo_generic(self): self.aware_dt_generic = datetime(2013, 1, 3, 4, 31, 14, 148546, tzinfo=generi...
Changed assertIsInstance to assertTrue for backwards compatability.
py
diff --git a/properties/basic.py b/properties/basic.py index <HASH>..<HASH> 100644 --- a/properties/basic.py +++ b/properties/basic.py @@ -341,7 +341,7 @@ class GettableProperty(with_metaclass(ArgumentWrangler, object)): # """Property class name formatted for Sphinx doc linking""" return ...
Update sphinx class for intersphinx linking to new docs
py
diff --git a/lettuce_webdriver/css_selector_steps.py b/lettuce_webdriver/css_selector_steps.py index <HASH>..<HASH> 100644 --- a/lettuce_webdriver/css_selector_steps.py +++ b/lettuce_webdriver/css_selector_steps.py @@ -55,7 +55,7 @@ def check_element_by_selector(step, selector): @step(r'There should be an element ma...
Convert seconds to an int before waiting for it.
py
diff --git a/tests/profiler_test.py b/tests/profiler_test.py index <HASH>..<HASH> 100644 --- a/tests/profiler_test.py +++ b/tests/profiler_test.py @@ -87,7 +87,7 @@ class ProfilerTest(unittest.TestCase): self.assertEqual(1, len(glob.glob(path)), 'Expected one path match: ' + path) - @unitt...
fix skip logic for test that requires portpicker
py
diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -288,7 +288,7 @@ class Session(object): @classmethod def _cleanup(cls): - for sesskey in cls.bmc_handlers: + for...
Fix cleanup loop of changing dictionary The dictionary size can change, causing this loop to fail. Fix by wrapping the iterator in a list prior to iterating. Change-Id: I<I>dd5b8b<I>e<I>d6fd<I>ab<I>ce<I>d7a
py
diff --git a/phoebe/frontend/plotting.py b/phoebe/frontend/plotting.py index <HASH>..<HASH> 100644 --- a/phoebe/frontend/plotting.py +++ b/phoebe/frontend/plotting.py @@ -256,6 +256,7 @@ def mpl(ps, data, plot_inds, do_plot=True, **kwargs): colorbar = kwargs.pop('colorbar', False) facecolorbar = kwargs.pop('f...
Added linestyle kwarg to plotting meshes for controling the edge line style.
py
diff --git a/lib/imagepanel.py b/lib/imagepanel.py index <HASH>..<HASH> 100644 --- a/lib/imagepanel.py +++ b/lib/imagepanel.py @@ -40,6 +40,8 @@ class ImagePanel(BasePanel): self.dpi = dpi self.xlab = 'X' self.ylab = 'Y' + self.xdata = None + self.ydata = None ...
fixes for xdata, ydata=None in imagepanel
py
diff --git a/psiturk/db.py b/psiturk/db.py index <HASH>..<HASH> 100644 --- a/psiturk/db.py +++ b/psiturk/db.py @@ -19,7 +19,7 @@ if 'mysql' in config.get('Database Parameters', 'database_url').lower(): "Installation can be tricky on some systems.") exit() -engine = create_engine(DATABASE, echo=False) +engin...
fixes "MySQL Server has gone away" error for long-term experiments MySQL defaults to closing connections that have been inactive for 8 hours, which will result in the “MySQL Server has gone away” error if you have a long-term, low-traffic experiment (e.g., if you want to leave a server up for a one-session-per-day exp...
py
diff --git a/intake/tests/test_top_level.py b/intake/tests/test_top_level.py index <HASH>..<HASH> 100644 --- a/intake/tests/test_top_level.py +++ b/intake/tests/test_top_level.py @@ -149,5 +149,6 @@ def test_nested_catalog_access(tmp_path_catalog_nested): cat = intake.open_catalog(tmp_path_catalog_nested) ent...
Add list-style nested access to test
py
diff --git a/utils.py b/utils.py index <HASH>..<HASH> 100644 --- a/utils.py +++ b/utils.py @@ -165,6 +165,22 @@ class makeGraph: restriction = infixowl.Restriction(edge, graph=self.g, someValuesFrom=parent) child.subClassOf = [restriction] + [c for c in child.subClassOf] + def get_equiv_inter(sel...
makeGraph added pattern to get all subjects equivalent to an intersectionOf containing a class
py
diff --git a/webwhatsapi/__init__.py b/webwhatsapi/__init__.py index <HASH>..<HASH> 100755 --- a/webwhatsapi/__init__.py +++ b/webwhatsapi/__init__.py @@ -415,7 +415,7 @@ class WhatsAPIDriver(object): raise ChatNotFoundError("Chat {0} not found".format(chat_id)) - def get_chat_from_phone_number(self, nu...
change get_chat_from_phone_number Possibilite to create new chat if no one found if you need this
py
diff --git a/openquake/hazardlib/geo/mesh.py b/openquake/hazardlib/geo/mesh.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/geo/mesh.py +++ b/openquake/hazardlib/geo/mesh.py @@ -37,8 +37,8 @@ def debug_plot(polygons): import matplotlib.pyplot as plt fig, ax = plt.subplots() pp = geo_utils.Polygo...
Better debug_plot [ci skip]
py
diff --git a/hwt/serializer/verilog/statements.py b/hwt/serializer/verilog/statements.py index <HASH>..<HASH> 100644 --- a/hwt/serializer/verilog/statements.py +++ b/hwt/serializer/verilog/statements.py @@ -60,7 +60,6 @@ class VerilogSerializer_statements(): raise SerializerException("%s %s %s is not valid...
VerilogSerializer_statements.HWProcess fix indexed assignments
py
diff --git a/marvin_python_toolbox/engine_base/engine_base_action.py b/marvin_python_toolbox/engine_base/engine_base_action.py index <HASH>..<HASH> 100644 --- a/marvin_python_toolbox/engine_base/engine_base_action.py +++ b/marvin_python_toolbox/engine_base/engine_base_action.py @@ -15,6 +15,7 @@ # See the License for ...
setting all string to unicode in engine_base_action
py
diff --git a/goldman/middleware/model_qps/__init__.py b/goldman/middleware/model_qps/__init__.py index <HASH>..<HASH> 100644 --- a/goldman/middleware/model_qps/__init__.py +++ b/goldman/middleware/model_qps/__init__.py @@ -7,6 +7,14 @@ those directly called out by the JSON API specification but do not require...
commens in model_qps middleware
py
diff --git a/tools/run_tests/performance/bq_upload_result.py b/tools/run_tests/performance/bq_upload_result.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/performance/bq_upload_result.py +++ b/tools/run_tests/performance/bq_upload_result.py @@ -122,6 +122,7 @@ def _flatten_result_inplace(scenario_result): scen...
unblock the performance tests. hide the cpu usage field for now.
py
diff --git a/km3pipe/pumps/hdf5.py b/km3pipe/pumps/hdf5.py index <HASH>..<HASH> 100644 --- a/km3pipe/pumps/hdf5.py +++ b/km3pipe/pumps/hdf5.py @@ -266,6 +266,11 @@ class HDF5Sink(Module): return blob def finish(self): + self.hits.flush() + self.event_info.flush() + self.mc_hits.flus...
Fixes flush error due to wrong order
py
diff --git a/utils/unshorten.py b/utils/unshorten.py index <HASH>..<HASH> 100755 --- a/utils/unshorten.py +++ b/utils/unshorten.py @@ -45,6 +45,9 @@ def rewrite_line(line): else: url = url_dict['url'] + if not url or url == '': + return line + url = url.encode('utf8') ...
null url Believe it or not some null urls have been found in the entities stanza, which is kinda confusing. This script just needs to be careful it skips past these without throwing an error when it attempts to encode the url.
py
diff --git a/diff_cover/tool.py b/diff_cover/tool.py index <HASH>..<HASH> 100644 --- a/diff_cover/tool.py +++ b/diff_cover/tool.py @@ -231,7 +231,7 @@ def main(argv=None, directory=None): GitPathTool.set_cwd(directory) - if progname.endswith('diff-cover'): + if 'diff-cover' in progname: arg_dict...
Windows makes a different script name then unix environments. The script should still run in these cases. I am worried about windows pathing but ill tackle that if it comes
py
diff --git a/toolium/pageelements/page_elements.py b/toolium/pageelements/page_elements.py index <HASH>..<HASH> 100644 --- a/toolium/pageelements/page_elements.py +++ b/toolium/pageelements/page_elements.py @@ -94,7 +94,8 @@ class PageElements(CommonObject): return self._web_elements @property - def ...
feat(magic-methods): expand PageElements magic methods (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ requirements: sh>=1.09 edeposit.amqp.aleph>=1.4.5 PyYAML + pyDHTMLParser>=1.7.6 extras: ftputil pytest \ No newline at end of file
Added requirement for pyDHTMLParser.
py
diff --git a/pwkit/astutil.py b/pwkit/astutil.py index <HASH>..<HASH> 100644 --- a/pwkit/astutil.py +++ b/pwkit/astutil.py @@ -1098,10 +1098,12 @@ class AstrometryInfo (object): else: parallaxes = np.zeros (n) + self.parallax - if self.vradial is not None: + if self.vradial is None...
pwkit/astutil.py: fix astrometry sims with vradial that has no uncertainty
py
diff --git a/src/saml2/client_base.py b/src/saml2/client_base.py index <HASH>..<HASH> 100644 --- a/src/saml2/client_base.py +++ b/src/saml2/client_base.py @@ -371,13 +371,12 @@ class Base(Entity): except KeyError: nsprefix = None - try: - force_authn = kwargs['force_authn'] - ...
Set force_authn only when the value is "true"
py
diff --git a/tests/testparameterizedobject.py b/tests/testparameterizedobject.py index <HASH>..<HASH> 100644 --- a/tests/testparameterizedobject.py +++ b/tests/testparameterizedobject.py @@ -245,6 +245,29 @@ class TestParamOverrides(unittest.TestCase): self.assertEqual(overrides['name'], 'B') self.ass...
Added test to demonstrate ParamOverrides bug #<I>.
py
diff --git a/src/scs_core/aws/client/mqtt_client.py b/src/scs_core/aws/client/mqtt_client.py index <HASH>..<HASH> 100644 --- a/src/scs_core/aws/client/mqtt_client.py +++ b/src/scs_core/aws/client/mqtt_client.py @@ -35,8 +35,8 @@ class MQTTClient(object): __RECONN_MAX = 32 # re...
Set AWS MQTT timeouts to defaults.
py
diff --git a/mopidy_audioaddict/actor.py b/mopidy_audioaddict/actor.py index <HASH>..<HASH> 100644 --- a/mopidy_audioaddict/actor.py +++ b/mopidy_audioaddict/actor.py @@ -93,10 +93,9 @@ class AudioAddictLibrary(backend.LibraryProvider): class AudioAddictPlayback(backend.PlaybackProvider): - def change_track(sel...
playback: Implement new translate_uri() method This is a new simpler interface that covers the needs of most Mopidy backends.
py
diff --git a/openquake/nrmllib/risk/writers.py b/openquake/nrmllib/risk/writers.py index <HASH>..<HASH> 100644 --- a/openquake/nrmllib/risk/writers.py +++ b/openquake/nrmllib/risk/writers.py @@ -506,7 +506,8 @@ class LossMapGeoJSONWriter(LossMapWriter): }) with NRMLFile(self._dest, 'w') as f...
risk/writers: Added pretty print to LossMapGeoJSONWriter.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def get_description(): setup( name="docx2html", - version="0.1.3", + version="0.1.4", description="docx (OOXML) to html converter", author="Jason Ward", author_email="jason.louard.wa...
bumped to version <I>
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,7 +20,7 @@ extensions = [ # autodoc module docs will fail to generate with a warning. autodoc_mock_imports = ["busio", "micropython"] -intersphinx_mapping = {'python': ('https://docs.python.org/3.4', No...
updated conf.py; bus device intersphinx path
py
diff --git a/examples/yoti_example_django/yoti_example/views.py b/examples/yoti_example_django/yoti_example/views.py index <HASH>..<HASH> 100644 --- a/examples/yoti_example_django/yoti_example/views.py +++ b/examples/yoti_example_django/yoti_example/views.py @@ -2,6 +2,12 @@ from binascii import a2b_base64 from djan...
[SDK-<I>]: Added dotenv plugin to Django example project
py
diff --git a/emirdrp/recipes/spec/abba.py b/emirdrp/recipes/spec/abba.py index <HASH>..<HASH> 100644 --- a/emirdrp/recipes/spec/abba.py +++ b/emirdrp/recipes/spec/abba.py @@ -138,6 +138,9 @@ class ABBASpectraRectwv(EmirRecipe): data_a = reduced_image_a[0].data.astype('float32') data_b = reduce...
Rescale output image (multiplying by 2) when using ABBA pattern
py
diff --git a/zarr/n5.py b/zarr/n5.py index <HASH>..<HASH> 100644 --- a/zarr/n5.py +++ b/zarr/n5.py @@ -461,7 +461,7 @@ def compressor_config_to_n5(compressor_config): else: # pragma: no cover - raise RuntimeError("Unknown compressor with id %s" % codec_id) + n5_config.update({k: v for k, v in co...
Permit use of codec registry with N5Store (#<I>) * enable arbitrary compressors for N5Store * enable arbitrary compressors for N5Store creation * pep8 * don't mutate the config dict * pep8
py
diff --git a/law/target/remote/cache.py b/law/target/remote/cache.py index <HASH>..<HASH> 100644 --- a/law/target/remote/cache.py +++ b/law/target/remote/cache.py @@ -152,7 +152,8 @@ class RemoteCache(object): logger.debug("cleanup RemoteCache at '{}'".format(self.base)) def cache_path(self, rpath): - ...
Fix unique basenames in remote cache.
py
diff --git a/timeside/server/serializers.py b/timeside/server/serializers.py index <HASH>..<HASH> 100644 --- a/timeside/server/serializers.py +++ b/timeside/server/serializers.py @@ -237,7 +237,7 @@ class AnalysisSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = AnalysisTrack - ...
Timeside server API: add uuid field to analysis serializer
py
diff --git a/workflow/workflow_manager.py b/workflow/workflow_manager.py index <HASH>..<HASH> 100644 --- a/workflow/workflow_manager.py +++ b/workflow/workflow_manager.py @@ -30,7 +30,7 @@ from mongoengine.context_managers import switch_db from . import Workflow from ..time_interval import TimeInterval, TimeIntervals...
fixed a bug in workflow_manager in storing the requested_interval into mongo
py
diff --git a/pydle/__init__.py b/pydle/__init__.py index <HASH>..<HASH> 100644 --- a/pydle/__init__.py +++ b/pydle/__init__.py @@ -4,6 +4,9 @@ from .client import Error, NotInChannel, AlreadyInChannel, BasicClient, ClientPo from .features.ircv3.cap import NEGOTIATING as CAPABILITY_NEGOTIATING, FAILED as CAPABILITY_FAI...
Re-added `pydle.Future` and `pydle.coroutine` - just forward-references to asyncio
py
diff --git a/scapy/layers/l2.py b/scapy/layers/l2.py index <HASH>..<HASH> 100644 --- a/scapy/layers/l2.py +++ b/scapy/layers/l2.py @@ -390,6 +390,7 @@ class GRE(Packet): bind_layers( Dot3, LLC, ) bind_layers( Ether, LLC, type=122) +bind_layers( Ether, LLC, type...
CHANGE: added support for Jumbo LLC frames
py
diff --git a/loam/manager.py b/loam/manager.py index <HASH>..<HASH> 100644 --- a/loam/manager.py +++ b/loam/manager.py @@ -98,6 +98,15 @@ class _SubConfig: self[opt] = dflt return missing_opts + def update_(self, conf_dict): + """Update values of configuration section with dict. + + ...
New update_ methods of config and its sections
py
diff --git a/topydo/lib/PostponeCommand.py b/topydo/lib/PostponeCommand.py index <HASH>..<HASH> 100644 --- a/topydo/lib/PostponeCommand.py +++ b/topydo/lib/PostponeCommand.py @@ -60,6 +60,7 @@ class PostponeCommand(Command): todos = [] invalid_numbers = [] + for number in self.args[:-1]: ...
Fix code formatting in PostponeCommand
py
diff --git a/scripts/build_profile_docs.py b/scripts/build_profile_docs.py index <HASH>..<HASH> 100755 --- a/scripts/build_profile_docs.py +++ b/scripts/build_profile_docs.py @@ -24,7 +24,7 @@ def format_profile(profile_name: str, profile: Dict[str, Any]) -> str: return f""" #{profile_name} -{profile.get('descr...
Fix typo in profile doc description build
py
diff --git a/django_jenkins/tasks/behave_tests.py b/django_jenkins/tasks/behave_tests.py index <HASH>..<HASH> 100644 --- a/django_jenkins/tasks/behave_tests.py +++ b/django_jenkins/tasks/behave_tests.py @@ -99,7 +99,7 @@ class Task(BaseTask): def build_suite(self, suite, **kwargs): for label in self.test_...
Add missing %s in print statement
py
diff --git a/pymc3/backends/sqlite.py b/pymc3/backends/sqlite.py index <HASH>..<HASH> 100644 --- a/pymc3/backends/sqlite.py +++ b/pymc3/backends/sqlite.py @@ -148,8 +148,8 @@ class SQLite(base.BaseTrace): values = (self.draw_idx, self.chain) + tuple(np.ravel(value)) self._queue[varname].append...
Reverted c<I>c<I> and clarified reference to varnames element
py
diff --git a/tests/sqlite.py b/tests/sqlite.py index <HASH>..<HASH> 100644 --- a/tests/sqlite.py +++ b/tests/sqlite.py @@ -2295,6 +2295,10 @@ class TestSqliteReturning(ModelTestCase): res = User.insert(username='u6').execute() self.assertEqual(res, 6) + iq = User.insert_many([{'username': 'u%...
Additional test for Sqlite RETURNING.
py
diff --git a/salt/search/__init__.py b/salt/search/__init__.py index <HASH>..<HASH> 100644 --- a/salt/search/__init__.py +++ b/salt/search/__init__.py @@ -11,7 +11,7 @@ import os import salt.minion import salt.loader import salt.utils -import six +import salt.utils.six as six def iter_ret(opts, ret):
Replaced import six in file /salt/search/__init__.py
py
diff --git a/command.py b/command.py index <HASH>..<HASH> 100644 --- a/command.py +++ b/command.py @@ -1,5 +1,6 @@ import functools import re +import os from apiclient import client as api from little_shit import SkipException, get_command_name_separators @@ -155,7 +156,7 @@ class CommandRegistry: try:...
Make superuser qq as a environment var
py
diff --git a/mongotail/mongotail.py b/mongotail/mongotail.py index <HASH>..<HASH> 100755 --- a/mongotail/mongotail.py +++ b/mongotail/mongotail.py @@ -48,23 +48,16 @@ def main(): skip = cursor.count() - DEFAULT_LIMIT if skip > 0: cursor.skip(skip) - if len(sys.argv) == 2: - ...
Refactor iteration mode, and remove unnecessary code.
py
diff --git a/metrology/reporter/graphite.py b/metrology/reporter/graphite.py index <HASH>..<HASH> 100644 --- a/metrology/reporter/graphite.py +++ b/metrology/reporter/graphite.py @@ -134,7 +134,7 @@ class GraphiteReporter(Reporter): def _send_plaintext(self): if len(self.batch_buffer): - self...
graphite reporter. fix socket.sendall mistyping
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,8 +34,9 @@ setup(name='amibaker', ], }, install_requires=[ - "awsclpy", - "fabric", - "jinja2", + "awsclpy==0.2.2", + "Fabric==1.10.2", + "Jinja2...
Fixed and improve setup.py dependencies
py