diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/eventsourcing/tests/test_process.py b/eventsourcing/tests/test_process.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/tests/test_process.py
+++ b/eventsourcing/tests/test_process.py
@@ -293,10 +293,14 @@ class ExampleAggregate(BaseAggregateRoot):
class Created(Event, BaseAggregateRoot.Created):
... | Fixed test (was missing arg to move_on()). | py |
diff --git a/salt/modules/gem.py b/salt/modules/gem.py
index <HASH>..<HASH> 100644
--- a/salt/modules/gem.py
+++ b/salt/modules/gem.py
@@ -13,7 +13,7 @@ __func_alias__ = {
def _gem(command, ruby=None, runas=None):
cmdline = 'gem {command}'.format(command=command)
- if __salt__['rvm.is_installed']():
+ if ... | Fixes issue #<I> - gem install fails when rvm is set up with another user | py |
diff --git a/salt/cloud/clouds/linode.py b/salt/cloud/clouds/linode.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/linode.py
+++ b/salt/cloud/clouds/linode.py
@@ -1035,6 +1035,10 @@ def decode_linode_plan_label(label):
'Invalid Linode plan ({}) specified - call avail_sizes() for all availab... | log a warning when the user supplied a label we could decode but was not in the proper format | py |
diff --git a/bakery/tasks.py b/bakery/tasks.py
index <HASH>..<HASH> 100644
--- a/bakery/tasks.py
+++ b/bakery/tasks.py
@@ -325,14 +325,10 @@ def process_project(project, log):
:param project: :class:`~bakery.models.Project` instance
:param log: :class:`~bakery.utils.RedisFd` as log
"""
- # login — use... | Move copy_and_rename_ufos_process() inside bake process in process_project() | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,7 @@ LONG_DESCRIPTION = open('LONG_DESCRIPTION.rst').read()
builtins._ASTROPY_PACKAGE_NAME_ = PACKAGENAME
# VERSION should be PEP440 compatible (http://www.python.org/dev/peps/pep-0440)
-VERSION = '0.4'
+VERSION ... | Back to development: <I>.dev | py |
diff --git a/stripe/__init__.py b/stripe/__init__.py
index <HASH>..<HASH> 100644
--- a/stripe/__init__.py
+++ b/stripe/__init__.py
@@ -233,7 +233,8 @@ class APIRequestor(object):
if meth == 'get':
curl.setopt(pycurl.HTTPGET, 1)
# TODO: maybe be a bit less manual here
- abs_url = '%s?%s' % (abs_u... | Only add question mark to get if actually have arguments | py |
diff --git a/rig/machine_control/regions.py b/rig/machine_control/regions.py
index <HASH>..<HASH> 100644
--- a/rig/machine_control/regions.py
+++ b/rig/machine_control/regions.py
@@ -159,7 +159,7 @@ class RegionCoreTree(object):
# Iterate through the subregions and recurse, we iterate through in
... | Correct variable ordering Equivalent operation, better naming! | py |
diff --git a/cloudvolume/frontends/graphene.py b/cloudvolume/frontends/graphene.py
index <HASH>..<HASH> 100644
--- a/cloudvolume/frontends/graphene.py
+++ b/cloudvolume/frontends/graphene.py
@@ -215,7 +215,7 @@ class CloudVolumeGraphene(CloudVolumePrecomputed):
leaves = self.get_leaves(segid, mip0_bbox, 0)
... | fix(graphene/images): don't let shared memory buffer get GC'd | py |
diff --git a/packages/create-quip-app/bin/create-quip-app.py b/packages/create-quip-app/bin/create-quip-app.py
index <HASH>..<HASH> 100755
--- a/packages/create-quip-app/bin/create-quip-app.py
+++ b/packages/create-quip-app/bin/create-quip-app.py
@@ -123,7 +123,7 @@ Inside that directory, you can run several commands:
... | Allow creation of app.ele in a non existent subdirectory (just create the path) | py |
diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py
index <HASH>..<HASH> 100644
--- a/spyder/app/mainwindow.py
+++ b/spyder/app/mainwindow.py
@@ -325,10 +325,6 @@ class MainWindow(QMainWindow):
mac_style = mac_style.replace('$IMAGE_PATH', img_path)
self.setStyleSheet(mac_style)
... | not more need of creating temp directory at when main window start. temp dir is not more removed when main window closes | py |
diff --git a/saspy/__init__.py b/saspy/__init__.py
index <HASH>..<HASH> 100644
--- a/saspy/__init__.py
+++ b/saspy/__init__.py
@@ -1,9 +1,2 @@
-import os
from saspy.pysas34 import *
from saspy.SASLogLexer import *
-executable = os.environ.get('SAS_EXECUTABLE', 'sas')
-if executable=='sas':
- executable='/opt/sasin... | clean up pysas invocation from kernel and init script | py |
diff --git a/functional/transformations.py b/functional/transformations.py
index <HASH>..<HASH> 100644
--- a/functional/transformations.py
+++ b/functional/transformations.py
@@ -19,10 +19,6 @@ EXECUTION_STRATEGIES = Enum('EXECUTION_STRATEGIES', 'PRE_COMPUTE')
CACHE_T = Transformation('cache', None, None)
-def lis... | Removed function which was not being used | py |
diff --git a/holoviews/operation/datashader.py b/holoviews/operation/datashader.py
index <HASH>..<HASH> 100644
--- a/holoviews/operation/datashader.py
+++ b/holoviews/operation/datashader.py
@@ -14,6 +14,7 @@ import datashader.reductions as rd
import datashader.transfer_functions as tf
import dask.dataframe as dd
+... | Allow supplying named cmap to (data)shade (#<I>) | py |
diff --git a/abydos/ngram.py b/abydos/ngram.py
index <HASH>..<HASH> 100644
--- a/abydos/ngram.py
+++ b/abydos/ngram.py
@@ -84,8 +84,8 @@ class NGramCorpus(object):
return corpus[None]
# support strings or lists/tuples by splitting strings
- if type(ngram) == str:
- ngram = ngra... | fixed what gets unicodized (the input to get_count) | py |
diff --git a/src/taxi/__init__.py b/src/taxi/__init__.py
index <HASH>..<HASH> 100755
--- a/src/taxi/__init__.py
+++ b/src/taxi/__init__.py
@@ -266,7 +266,7 @@ Available commands:
update \t\tupdates your project database with the one on the server"""
usage = main.__doc__
- locale.setlocale(locale.LC_ALL, lo... | Fixed default locale setting when locale is not available (let Python do the job) | py |
diff --git a/test/test_iebi.py b/test/test_iebi.py
index <HASH>..<HASH> 100644
--- a/test/test_iebi.py
+++ b/test/test_iebi.py
@@ -20,3 +20,6 @@ class Issues(unittest.TestCase):
ibei.devos_efficiency(bandgap, temp_sun, temp_earth, 1.09)
except:
self.fail("Unit system not initialized."... | Initialize test environment when run from console | py |
diff --git a/jsonschema/tests/test_cli.py b/jsonschema/tests/test_cli.py
index <HASH>..<HASH> 100644
--- a/jsonschema/tests/test_cli.py
+++ b/jsonschema/tests/test_cli.py
@@ -327,6 +327,23 @@ class TestCLI(TestCase):
self.assertIn("Failed to parse stdin", stderr.getvalue())
self.assertEqual(exit_code,... | Test parsing errors for stdin + the pretty output writer. | py |
diff --git a/ca/django_ca/tests/tests_admin.py b/ca/django_ca/tests/tests_admin.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/tests/tests_admin.py
+++ b/ca/django_ca/tests/tests_admin.py
@@ -19,6 +19,7 @@ from datetime import datetime
from datetime import timedelta
from freezegun import freeze_time
+from seleni... | use select element, start actually testing something | py |
diff --git a/plotnine/doctools.py b/plotnine/doctools.py
index <HASH>..<HASH> 100644
--- a/plotnine/doctools.py
+++ b/plotnine/doctools.py
@@ -192,8 +192,9 @@ def make_signature(name, params, common_params, common_param_values):
s2 = ', '.join(tokens) + ', **kwargs)'
line_width = 78 - len(s1)
indent_spac... | DOC: Formatting of the function signatures The indented (2nd plus) lines now have more even lengths. | py |
diff --git a/source/rafcon/gui/controllers/graphical_editor_gaphas.py b/source/rafcon/gui/controllers/graphical_editor_gaphas.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/controllers/graphical_editor_gaphas.py
+++ b/source/rafcon/gui/controllers/graphical_editor_gaphas.py
@@ -215,8 +215,7 @@ class GraphicalEd... | fix(graphical_editor_gaphas): Data Flow mode not implemented, yet | py |
diff --git a/utils/cbook.py b/utils/cbook.py
index <HASH>..<HASH> 100644
--- a/utils/cbook.py
+++ b/utils/cbook.py
@@ -231,6 +231,13 @@ def thousands(x):
locale.setlocale(locale.LC_ALL, "en_US.utf8")
except Exception:
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
+ finally:
+ s = '%d' ... | use alternative implementation when locale failes in utils.cbook.thousands() | py |
diff --git a/lenstronomy/Workflow/parameters.py b/lenstronomy/Workflow/parameters.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Workflow/parameters.py
+++ b/lenstronomy/Workflow/parameters.py
@@ -207,7 +207,10 @@ class Param(object):
kwargs_source = copy.deepcopy(kwargs_source_list)
for i, kwargs i... | image plane source position available for psf reconstruction and alignment | py |
diff --git a/cloudsmith_cli/cli/commands/move.py b/cloudsmith_cli/cli/commands/move.py
index <HASH>..<HASH> 100644
--- a/cloudsmith_cli/cli/commands/move.py
+++ b/cloudsmith_cli/cli/commands/move.py
@@ -60,7 +60,7 @@ def move(
'dest': click.style(destination, bold=True),
}
- prompt = 'move the %(pack... | Fix typo in string formatting for move command | py |
diff --git a/src/barbequeue/client.py b/src/barbequeue/client.py
index <HASH>..<HASH> 100644
--- a/src/barbequeue/client.py
+++ b/src/barbequeue/client.py
@@ -10,6 +10,7 @@ from barbequeue.worker.backends import inmem
class Client(object):
def __init__(self, app, namespace, **config):
self.storage = conf... | add the scheduler as an argument in the client instantiation | py |
diff --git a/bika/lims/browser/worksheet.py b/bika/lims/browser/worksheet.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/worksheet.py
+++ b/bika/lims/browser/worksheet.py
@@ -321,16 +321,18 @@ class WorksheetAnalysesView(AnalysesView):
if pos in empties:
continue
+ obj... | Rows alignment fails when Reference analyses or duplicates are added in the worksheet #<I> | py |
diff --git a/GPy/core/model.py b/GPy/core/model.py
index <HASH>..<HASH> 100644
--- a/GPy/core/model.py
+++ b/GPy/core/model.py
@@ -286,7 +286,7 @@ class model(parameterised):
return '\n'.join(s)
- def checkgrad(self, verbose = True, include_priors=False, step=1e-6, tolerance = 1e-3, *args):
+ def che... | Changed the behaviour of checkgrad. verbose now works as (I) expected. discussion welcome | py |
diff --git a/pyfrc/physics/motor_cfgs.py b/pyfrc/physics/motor_cfgs.py
index <HASH>..<HASH> 100644
--- a/pyfrc/physics/motor_cfgs.py
+++ b/pyfrc/physics/motor_cfgs.py
@@ -117,4 +117,24 @@ MOTOR_CFG_BB_RS550 = MotorModelConfig(
84.0 * units.amps,
)
+#: Motor configuration for NEO 550 Brushless Motor
+MOTOR_CFG_N... | Add motor configurations for new brushless motors | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ setup(
long_description=README + '\n\n' + HISTORY,
author='Beau Barker',
author_email='beauinmelbourne@gmail.com',
- url='https://jsonrpcserver.readthedocs.io/',
+ url='https://github.com/bc... | Change url in setup.py to github repo | py |
diff --git a/src/edeposit/amqp/aleph/datastructures/convertor.py b/src/edeposit/amqp/aleph/datastructures/convertor.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/aleph/datastructures/convertor.py
+++ b/src/edeposit/amqp/aleph/datastructures/convertor.py
@@ -36,6 +36,7 @@ def toSemanticInfo(xml):
hasDescri... | #<I>: Added tracking of .isClosed in SemanticInfo. | py |
diff --git a/python_modules/dagster-graphql/dagster_graphql/test/utils.py b/python_modules/dagster-graphql/dagster_graphql/test/utils.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster-graphql/dagster_graphql/test/utils.py
+++ b/python_modules/dagster-graphql/dagster_graphql/test/utils.py
@@ -17,8 +17,8 @@ def... | Don't use deprecated aliases in test Summary: Quietens many spurious warnings in dagster-graphql test Test Plan: Unit Reviewers: prha, alangenfeld, nate Reviewed By: alangenfeld Differential Revision: <URL> | py |
diff --git a/securesystemslib/gpg/constants.py b/securesystemslib/gpg/constants.py
index <HASH>..<HASH> 100644
--- a/securesystemslib/gpg/constants.py
+++ b/securesystemslib/gpg/constants.py
@@ -18,8 +18,8 @@
import in_toto.gpg.rsa as rsa
import in_toto.gpg.dsa as dsa
-GPG_SIGN_COMMAND = "gpg --detach-sign {keyarg}... | MAIN: gpg: force the use of gpgv2 Travis is running on ubuntu <I> and using gpg1 by default | py |
diff --git a/salt/states/cmd.py b/salt/states/cmd.py
index <HASH>..<HASH> 100644
--- a/salt/states/cmd.py
+++ b/salt/states/cmd.py
@@ -112,3 +112,4 @@ def run(name,
os.setegid(pgid)
return ret
+watcher = run | Add watch support to the cms state | py |
diff --git a/doxytag2zealdb/doxytag2zealdb.py b/doxytag2zealdb/doxytag2zealdb.py
index <HASH>..<HASH> 100755
--- a/doxytag2zealdb/doxytag2zealdb.py
+++ b/doxytag2zealdb/doxytag2zealdb.py
@@ -92,7 +92,7 @@ def main():
'Info.plist')
if verbose:
- print('Going to update %s' % plist_filen... | Whoops, verbose output should go to stderr | py |
diff --git a/_pydev_bundle/_pydev_saved_modules.py b/_pydev_bundle/_pydev_saved_modules.py
index <HASH>..<HASH> 100644
--- a/_pydev_bundle/_pydev_saved_modules.py
+++ b/_pydev_bundle/_pydev_saved_modules.py
@@ -21,7 +21,7 @@ def find_in_pythonpath(module_name):
return found_at
-class DebuggerInitializationErro... | Change DebuggerInitializationError to subclass Exception Per PEP8[1] and the Python docs[2], custom exceptions defined in library code should not normally derive from BaseException, which is reserved for exceptions that should not normally be caught (e.g. `KeyboardInterrupt`, `SystemExit`). Deriving from BaseException... | py |
diff --git a/quantumclient/shell.py b/quantumclient/shell.py
index <HASH>..<HASH> 100644
--- a/quantumclient/shell.py
+++ b/quantumclient/shell.py
@@ -232,7 +232,8 @@ class QuantumShell(App):
description=__doc__.strip(),
version=VERSION,
command_manager=CommandManager('quantum.cli... | Stored the quantum commands list to the variable. By storing the quantum commands list to the variable, the subclass can depend the quantum shell to parse the command. Fixes: bug <I> Change-Id: I0a6f<I>d<I>cf<I>e<I>e4ddf<I>d6f9a<I>d<I> | py |
diff --git a/pyvodb/calendar.py b/pyvodb/calendar.py
index <HASH>..<HASH> 100644
--- a/pyvodb/calendar.py
+++ b/pyvodb/calendar.py
@@ -49,9 +49,11 @@ def get_calendar(db, first_year=None, first_month=None, num_months=3,
start_date = datetime.datetime.combine(start, datetime.time())
end_date = ... | Calendar: Don't crash is a series has no planned occurences | py |
diff --git a/pythran/tests/cases/pairwise.py b/pythran/tests/cases/pairwise.py
index <HASH>..<HASH> 100644
--- a/pythran/tests/cases/pairwise.py
+++ b/pythran/tests/cases/pairwise.py
@@ -7,6 +7,7 @@ def pairwise(X):
M = len(X)
N = len(X[0])
D = [ [0 for x in xrange(M) ] for y in xrange(M) ]
+ "omp par... | Add OpenMP annotations on pairwise distance example. The speedup is not great due to conversion cost. | py |
diff --git a/linkify.py b/linkify.py
index <HASH>..<HASH> 100644
--- a/linkify.py
+++ b/linkify.py
@@ -15,6 +15,7 @@ link_patterns = [
r"Jython #(?P<jython>\d+)",
r"Python #(?P<python>\d+)",
r"Interop #(?P<interop>\d+)",
+ r"Pip #(?P<pip>\d+)",
]
issue_urls = dict(
@@ -27,6 +28,7 @@ issue_urls = d... | Add support for linkifying pip issues. | py |
diff --git a/unitypack/__init__.py b/unitypack/__init__.py
index <HASH>..<HASH> 100644
--- a/unitypack/__init__.py
+++ b/unitypack/__init__.py
@@ -275,8 +275,12 @@ class Asset:
header_size = buf.read_uint()
size = buf.read_uint()
+ # FIXME: this offset needs to be explored more
ofs = buf.tell()
- buf.seek(... | Fix offset for .resource assets | py |
diff --git a/spyder/__init__.py b/spyder/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/__init__.py
+++ b/spyder/__init__.py
@@ -29,7 +29,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
-version_info = (5, 1, 0)
+version_info = (5, 2, 0, "dev0")
__vers... | Back to work [ci skip] | py |
diff --git a/centinel.py b/centinel.py
index <HASH>..<HASH> 100755
--- a/centinel.py
+++ b/centinel.py
@@ -93,6 +93,6 @@ if __name__ == "__main__":
if not os.path.exists(args.binary):
print "Error: no binary found to daemonize"
exit(1)
- centinel.daemonize.daemonize(args.autoup... | bug fix- typo in variable name from daemonize | py |
diff --git a/registry/quilt_server/views.py b/registry/quilt_server/views.py
index <HASH>..<HASH> 100644
--- a/registry/quilt_server/views.py
+++ b/registry/quilt_server/views.py
@@ -76,10 +76,6 @@ S3_PUT_OBJECT = 'put_object'
OBJ_DIR = 'objs'
-# Limit the JSON metadata to 100MB.
-# This is mostly a sanity check; ... | Delete an unused variable (#<I>) | py |
diff --git a/test_flake8_string_format.py b/test_flake8_string_format.py
index <HASH>..<HASH> 100644
--- a/test_flake8_string_format.py
+++ b/test_flake8_string_format.py
@@ -26,14 +26,12 @@ def generate_code():
variant = list(variant)
indented = variant[0].startswith(' ')
for use_format in [... | [IMPROV] Calculate offset dynamically | py |
diff --git a/gwpy/io/nds/__init__.py b/gwpy/io/nds/__init__.py
index <HASH>..<HASH> 100644
--- a/gwpy/io/nds/__init__.py
+++ b/gwpy/io/nds/__init__.py
@@ -27,7 +27,6 @@ from math import (floor, ceil)
from ... import (version, detector)
from ...detector import Channel
from ...time import Time
-from ...timeseries impo... | io.nds: removed unused import | py |
diff --git a/mintapi/api.py b/mintapi/api.py
index <HASH>..<HASH> 100644
--- a/mintapi/api.py
+++ b/mintapi/api.py
@@ -265,7 +265,7 @@ class Mint(requests.Session):
else 'task=transactions,txnfilters&filterType=cash'))
result = self.request_and_check(
url, headers=... | Updated getJsonData expected Content-Type header to application/json | py |
diff --git a/src/saml2/server.py b/src/saml2/server.py
index <HASH>..<HASH> 100644
--- a/src/saml2/server.py
+++ b/src/saml2/server.py
@@ -219,7 +219,12 @@ class Server(object):
self.log.error("Request was not correctly signed")
self.log.info(request_xml)
raise
- ... | Basic SAML2 Validation of request | py |
diff --git a/cirq-core/cirq/ops/boolean_hamiltonian.py b/cirq-core/cirq/ops/boolean_hamiltonian.py
index <HASH>..<HASH> 100644
--- a/cirq-core/cirq/ops/boolean_hamiltonian.py
+++ b/cirq-core/cirq/ops/boolean_hamiltonian.py
@@ -76,7 +76,6 @@ class BooleanHamiltonianGate(raw_types.Gate):
def _json_dict_(self) -> D... | Remove custom cirq_type (#<I>) Custom `cirq_type` was deprecated in #<I> and not necessary for internal types. | py |
diff --git a/salt/beacons/service.py b/salt/beacons/service.py
index <HASH>..<HASH> 100644
--- a/salt/beacons/service.py
+++ b/salt/beacons/service.py
@@ -86,13 +86,13 @@ def beacon(config):
# If no options is given to the service, we fall back to the defaults
# assign a False value to oncleanshutdown... | Fixed issue #<I> now without deprecated code. | py |
diff --git a/mtcnn/__init__.py b/mtcnn/__init__.py
index <HASH>..<HASH> 100644
--- a/mtcnn/__init__.py
+++ b/mtcnn/__init__.py
@@ -24,4 +24,4 @@
#SOFTWARE.
__author__ = "Iván de Paz Centeno"
-__version__= "0.0.6"
+__version__= "0.0.7" | Changed to version <I> | py |
diff --git a/angr/analyses/decompiler/clinic.py b/angr/analyses/decompiler/clinic.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/clinic.py
+++ b/angr/analyses/decompiler/clinic.py
@@ -563,6 +563,7 @@ class Clinic(Analysis):
if block is not None \
and not stmt.ret_exprs \... | Clinic: Resilience against returnty being None in function prototypes. | py |
diff --git a/lib/plugins/aws/invokeLocal/invoke.py b/lib/plugins/aws/invokeLocal/invoke.py
index <HASH>..<HASH> 100755
--- a/lib/plugins/aws/invokeLocal/invoke.py
+++ b/lib/plugins/aws/invokeLocal/invoke.py
@@ -75,7 +75,8 @@ if __name__ == '__main__':
input = json.load(sys.stdin)
if sys.platform != 'win32':
... | don't check call tty on macs | py |
diff --git a/tests/test_simplenote.py b/tests/test_simplenote.py
index <HASH>..<HASH> 100644
--- a/tests/test_simplenote.py
+++ b/tests/test_simplenote.py
@@ -8,10 +8,10 @@ from simplenote import Simplenote
class TestSimplenote(unittest.TestCase):
def setUp(self):
- res, status = Simplenote(self.user, se... | assign before usage, d'oh | py |
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py
index <HASH>..<HASH> 100644
--- a/spyderlib/spyder.py
+++ b/spyderlib/spyder.py
@@ -310,11 +310,13 @@ class MainWindow(QMainWindow):
triggered=self.findinfiles_callback,
tip=self.tr("Search text in ... | Edit menu/bugfix: "Select all" action was not working (from menu only: shortcut was fine) | py |
diff --git a/pysat/utils/files.py b/pysat/utils/files.py
index <HASH>..<HASH> 100644
--- a/pysat/utils/files.py
+++ b/pysat/utils/files.py
@@ -224,8 +224,8 @@ def parse_delimited_filenames(files, format_str, delimiter):
"""Parse list of files, extracting data identified by format_str.
Will parse file using ... | STY: delimited -> parsed | py |
diff --git a/bokeh/command/__init__.py b/bokeh/command/__init__.py
index <HASH>..<HASH> 100644
--- a/bokeh/command/__init__.py
+++ b/bokeh/command/__init__.py
@@ -112,7 +112,11 @@ class Html(ApplicationsSubcommand):
for (route, app) in applications.items():
doc = app.create_document()
- ... | bokeh command: if the route is '/' use filename 'index.html' not '.html' | py |
diff --git a/iw_parse.py b/iw_parse.py
index <HASH>..<HASH> 100644
--- a/iw_parse.py
+++ b/iw_parse.py
@@ -84,9 +84,9 @@ def get_encryption(cell):
for line in cell:
matching = match(line,"IE:")
if matching != None:
- wpa = match(matching,"WPA Version ")
+ ... | Quick fix for WPA showing as WEP Modified get_encryption() to match on "WPA" instead of "WPA Version ". This will allow it to pick up WPA and WPA2. The only loss is that it shows "WPA2 Version 1" instead of "WPA2 <I>"....basically it looses the abbreviation of version. | py |
diff --git a/folium/features.py b/folium/features.py
index <HASH>..<HASH> 100644
--- a/folium/features.py
+++ b/folium/features.py
@@ -526,7 +526,7 @@ class GeoJson(Layer):
if data.lower().startswith(('http:', 'ftp:', 'https:')):
if not self.embed:
self.embed_link = da... | Expose GeoJson's web retrieval to its own function (#<I>) * move GeoJson.process_data()'s web data retrieval to its own fucntion so it can be overrriden or subclassed readily * remove whitespace | py |
diff --git a/pervert/management/commands/pervert_migrate.py b/pervert/management/commands/pervert_migrate.py
index <HASH>..<HASH> 100644
--- a/pervert/management/commands/pervert_migrate.py
+++ b/pervert/management/commands/pervert_migrate.py
@@ -26,14 +26,11 @@ class Command(BaseCommand):
else:
... | Fix a flaw in the old implementation of checking whether the state has changed. | py |
diff --git a/rope/base/evaluate.py b/rope/base/evaluate.py
index <HASH>..<HASH> 100644
--- a/rope/base/evaluate.py
+++ b/rope/base/evaluate.py
@@ -292,13 +292,15 @@ class StatementEvaluator(object):
else:
return
if function_name in pyobject:
- call_function = pyobject[function_... | evaluate.py. _call_function() should only call get_returned_object() for instances of AbstractFunction | py |
diff --git a/src/ossos-pipeline/pymop/pymop/io/workload.py b/src/ossos-pipeline/pymop/pymop/io/workload.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/pymop/pymop/io/workload.py
+++ b/src/ossos-pipeline/pymop/pymop/io/workload.py
@@ -355,9 +355,6 @@ class WorkloadManager(object):
def _unlock(self, workuni... | Removed __getattr__ delegation from WorkloadManager. | py |
diff --git a/Lib/fontParts/base/deprecated.py b/Lib/fontParts/base/deprecated.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/base/deprecated.py
+++ b/Lib/fontParts/base/deprecated.py
@@ -1,4 +1,3 @@
-from fontTools.misc.py23 import *
import warnings
""" | misc.py<I> isn't being used here, not needed. | py |
diff --git a/ipwhois/ipwhois.py b/ipwhois/ipwhois.py
index <HASH>..<HASH> 100644
--- a/ipwhois/ipwhois.py
+++ b/ipwhois/ipwhois.py
@@ -30,7 +30,7 @@ if sys.version_info >= (3, 3):
IPv6Address,
ip_network,
summarize_address_range,
- ... | Removed extra import comma | py |
diff --git a/vext/gatekeeper/__init__.py b/vext/gatekeeper/__init__.py
index <HASH>..<HASH> 100644
--- a/vext/gatekeeper/__init__.py
+++ b/vext/gatekeeper/__init__.py
@@ -23,10 +23,15 @@ from contextlib import contextmanager
from distutils.sysconfig import get_python_lib
from os.path import isdir, isfile, join, basen... | Workaround for py2 / 3 compatibility | py |
diff --git a/py/testdir_hosts/glm_bench.py b/py/testdir_hosts/glm_bench.py
index <HASH>..<HASH> 100644
--- a/py/testdir_hosts/glm_bench.py
+++ b/py/testdir_hosts/glm_bench.py
@@ -46,7 +46,6 @@ def run_glms(file,configs):
row.update(glm)
row.update(val)
csvWrt.writerow(... | updated glm_bench to not to kill the cloud in case of exception. | py |
diff --git a/torf/_utils.py b/torf/_utils.py
index <HASH>..<HASH> 100644
--- a/torf/_utils.py
+++ b/torf/_utils.py
@@ -80,6 +80,13 @@ def is_hidden(path):
return False
+def is_match(path, pattern):
+ for name in path.split(os.sep):
+ if fnmatch(name, pattern):
+ return True
+ return Fal... | Use pattern on every single part of file path | py |
diff --git a/pavement.py b/pavement.py
index <HASH>..<HASH> 100644
--- a/pavement.py
+++ b/pavement.py
@@ -24,6 +24,8 @@ options(setup=setup_dict)
install_distutils_tasks()
+NOSE_ARGS = ["-v"]
+
# Helper functions
@@ -58,6 +60,14 @@ def lint():
raise SystemExit(_lint())
+@task
+def test():
+ impor... | Added paver taks to run nose tests | py |
diff --git a/pyicloud/services/findmyiphone.py b/pyicloud/services/findmyiphone.py
index <HASH>..<HASH> 100755
--- a/pyicloud/services/findmyiphone.py
+++ b/pyicloud/services/findmyiphone.py
@@ -58,7 +58,10 @@ class FindMyiPhoneServiceManager(object):
def __getitem__(self, key):
if isinstance(key, int):... | Fix device indexing for python3 | py |
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based.py
+++ b/openquake/calculators/event_based.py
@@ -316,9 +316,8 @@ def compute_gmfs_and_curves(getter, oq, monitor):
with monitor('building hazard', measur... | Fixed event based hazard tests [skip hazardlib] [demos] Former-commit-id: 7de0ce9dff<I>ed6dec<I>dbd7e<I>eb<I>fa8d | py |
diff --git a/devassistant/yaml_loader.py b/devassistant/yaml_loader.py
index <HASH>..<HASH> 100644
--- a/devassistant/yaml_loader.py
+++ b/devassistant/yaml_loader.py
@@ -54,7 +54,7 @@ class YamlLoader(object):
return ret
@classmethod
- def load_yaml_file(cls, path):
+ def load_yaml_by_path(cls, p... | Rename load_yaml_file to more descriptive load_yaml_by_path | py |
diff --git a/paramiko/sftp_si.py b/paramiko/sftp_si.py
index <HASH>..<HASH> 100644
--- a/paramiko/sftp_si.py
+++ b/paramiko/sftp_si.py
@@ -36,6 +36,9 @@ class SFTPServerInterface (object):
SFTP sessions). However, raising an exception will usually cause the SFTP
session to abruptly end, so you will usually w... | [project @ <EMAIL><I>-f<I>d9c<I>e3] explain why paths aren't, and can't be, unicode strings when passed to SFTPServerInterface | py |
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -1115,8 +1115,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
if not param.required:
# We don't want None or ... | [commands] fix signature when displayed_default is missing This makes it so that passing an empty string (or MISSING) to the displayed_default of commands.Parameter not show up as [name=] or [name=...] | py |
diff --git a/salt/states/libcloud_storage.py b/salt/states/libcloud_storage.py
index <HASH>..<HASH> 100644
--- a/salt/states/libcloud_storage.py
+++ b/salt/states/libcloud_storage.py
@@ -97,7 +97,7 @@ def container_present(name, profile):
:type profile: ``str``
'''
containers = __salt__['libcloud_storag... | fixed the storage state module expecting a class instance, when I switched the responses to dictionaries | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,5 +22,5 @@ setup(name='androidviewclient',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Softwa... | Add culebratester-client to requirements | py |
diff --git a/openstack_dashboard/test/settings.py b/openstack_dashboard/test/settings.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/test/settings.py
+++ b/openstack_dashboard/test/settings.py
@@ -83,19 +83,16 @@ HORIZON_CONFIG = {
# Load the pluggable dashboard settings
import openstack_dashboard.enabled... | Do not import local/enabled when to run test For horizon, it should only test openstack_dashboard exclude any plugin. It throws error "can not find app searchlight_ui" When I run test with enabling searchlight_ui plugin. Change-Id: I<I>fdafd<I>f2e<I>ecb2ef<I>b<I> Closes-Bug: #<I> | py |
diff --git a/cpuinfo/cpuinfo.py b/cpuinfo/cpuinfo.py
index <HASH>..<HASH> 100644
--- a/cpuinfo/cpuinfo.py
+++ b/cpuinfo/cpuinfo.py
@@ -2102,7 +2102,7 @@ def _utf_to_str(input):
return [_utf_to_str(element) for element in input]
elif isinstance(input, dict):
return {_utf_to_str(key): _utf_to_str(value)
- for k... | Replaced python dict iteritems with items. | py |
diff --git a/labware/grid.py b/labware/grid.py
index <HASH>..<HASH> 100644
--- a/labware/grid.py
+++ b/labware/grid.py
@@ -79,9 +79,6 @@ class GridItem():
if properties:
self._custom_properties = properties
- def serialize(self):
- return {}
-
@property
def coordinates(self):... | Removed stubbed out 'serialize' method (still working on). | py |
diff --git a/oedialect/engine.py b/oedialect/engine.py
index <HASH>..<HASH> 100644
--- a/oedialect/engine.py
+++ b/oedialect/engine.py
@@ -256,6 +256,10 @@ class OEConnection():
process_returntype(ans, json_response)
+ if isinstance(query, dict) and 'request_type' in query:
+ if query['re... | Take raw result dictionaries from GET requests | py |
diff --git a/parsyfiles/tests/parsing_capabilities_by_type/test_parse_primitives.py b/parsyfiles/tests/parsing_capabilities_by_type/test_parse_primitives.py
index <HASH>..<HASH> 100644
--- a/parsyfiles/tests/parsing_capabilities_by_type/test_parse_primitives.py
+++ b/parsyfiles/tests/parsing_capabilities_by_type/test_p... | Fixed a test for travis | py |
diff --git a/dbi.py b/dbi.py
index <HASH>..<HASH> 100644
--- a/dbi.py
+++ b/dbi.py
@@ -15,6 +15,22 @@ from datetime import datetime
now = datetime.now
from time import sleep
+class Dbi:
+ def __init__(self,init_verb,init_debug):
+ self._verb = init_verb
+ self._debug = init_debug
+ def print_mes... | changed dbi from a function to an object with methods | py |
diff --git a/extra_views/tests/tests.py b/extra_views/tests/tests.py
index <HASH>..<HASH> 100644
--- a/extra_views/tests/tests.py
+++ b/extra_views/tests/tests.py
@@ -160,9 +160,14 @@ class InlineFormSetViewTests(TestCase):
data.update(self.management_data)
self.assertEquals(0, order.item_set.count(... | test InlineFormSetView correctly renders the formset after saving | py |
diff --git a/pyang/plugins/tree.py b/pyang/plugins/tree.py
index <HASH>..<HASH> 100644
--- a/pyang/plugins/tree.py
+++ b/pyang/plugins/tree.py
@@ -102,7 +102,8 @@ Each node is printed as:
* for a leaf-list or list
[<keys>] for a list's keys
- <type> is the name of the type for leafs and leaf-lists
+ <t... | print anydata/anyxml better in tree diagrams | py |
diff --git a/aioice/ice.py b/aioice/ice.py
index <HASH>..<HASH> 100644
--- a/aioice/ice.py
+++ b/aioice/ice.py
@@ -440,9 +440,13 @@ class Component:
try:
response, addr = await pair.protocol.request(request, pair.remote_addr)
- pair.state = CandidatePair.State.SUCCEEDED
- i... | [ice] check the answer to connectivity checks comes from right IP | py |
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py
index <HASH>..<HASH> 100644
--- a/spyderlib/spyder.py
+++ b/spyderlib/spyder.py
@@ -286,6 +286,12 @@ class MainWindow(QMainWindow):
self.debug_print("Start of MainWindow constructor")
+ # Use a custom Qt stylesheet
+ if sys.pl... | Main Window: Move setting Qt stylesheet to where it was before - After fixing issue #<I>, there is no need to put it at the end of the Main Window setup process | py |
diff --git a/visidata/color.py b/visidata/color.py
index <HASH>..<HASH> 100644
--- a/visidata/color.py
+++ b/visidata/color.py
@@ -103,6 +103,9 @@ class ColorMaker:
except Exception:
r = self.colors.get(colorname.upper())
+ if r is None:
+ return None
+
try: # test to ... | [color] do not break on nonsense color | py |
diff --git a/crispy_forms/helper.py b/crispy_forms/helper.py
index <HASH>..<HASH> 100644
--- a/crispy_forms/helper.py
+++ b/crispy_forms/helper.py
@@ -91,7 +91,6 @@ class FormHelper(object):
_form_style = 'default'
form_id = ''
form_class = ''
- inputs = []
layout = None
form_tag = True
... | inputs is an instance variable, so no need for class level definition | py |
diff --git a/cdflib/cdfwrite.py b/cdflib/cdfwrite.py
index <HASH>..<HASH> 100644
--- a/cdflib/cdfwrite.py
+++ b/cdflib/cdfwrite.py
@@ -2115,6 +2115,9 @@ class CDF(object):
return np.float64(data).tobytes()
elif (data_type == 32):
return np.complex128(data).tobytes()
+ elif ((da... | Fixing error with string bytes not being written properly | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ requires = [
# 'pyramid_debugtoolbar', # install for developement usage only
'pyScss==1.1.4', # pyramid-scss version does't support pyScss 1.1.5
- 'pyramid-scss==0.2.1', # freeze pyramid-... | Package name of pyramid-scss is pyramid_scss | py |
diff --git a/findimports.py b/findimports.py
index <HASH>..<HASH> 100755
--- a/findimports.py
+++ b/findimports.py
@@ -491,7 +491,7 @@ def main(argv=sys.argv):
collapse_cycles = False
packagelevel = None
try:
- opts, args = getopt.getopt(argv[1:], 'duniahpl:c',
+ opts, args = getopt.gnu_get... | Allow interspersing options and pathnames. Originally committed <I>-<I>-<I> <I>:<I>:<I> <I> to a different SVN repository (python-tools) as revision <I>. | py |
diff --git a/pyemma/msm/analysis/dense/pcca_test.py b/pyemma/msm/analysis/dense/pcca_test.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/analysis/dense/pcca_test.py
+++ b/pyemma/msm/analysis/dense/pcca_test.py
@@ -134,14 +134,6 @@ class TestPCCA(unittest.TestCase):
[ 0., 1.]])
assert... | [pcca] removed sparse test | py |
diff --git a/src/mirteFile.py b/src/mirteFile.py
index <HASH>..<HASH> 100644
--- a/src/mirteFile.py
+++ b/src/mirteFile.py
@@ -106,8 +106,11 @@ def _load_mirteFile(d, m):
depsOf_of_mirteFile_instance_definition(m, insts))))
for k in it:
settings = dict(insts[k])
- del(settings['module'])
- m.create_instance(... | mirteFile: add support for updating existing instances | py |
diff --git a/slither/solc_parsing/expressions/find_variable.py b/slither/solc_parsing/expressions/find_variable.py
index <HASH>..<HASH> 100644
--- a/slither/solc_parsing/expressions/find_variable.py
+++ b/slither/solc_parsing/expressions/find_variable.py
@@ -158,7 +158,7 @@ def _find_in_contract(
).values(... | Do not use available_functions_as_dict in find_variable The reason is that this function is now called early on (before the contract is properly constructed), which can break the memoization | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='soundscrape',
- version='0.2.1',
+ version='0.3.0',
packages=['soundscrape'],
install_requires=... | <I> publish @gleitz support for number of tracks to download | py |
diff --git a/unittests/test_all.py b/unittests/test_all.py
index <HASH>..<HASH> 100644
--- a/unittests/test_all.py
+++ b/unittests/test_all.py
@@ -53,7 +53,6 @@ import plain_c_tester
import function_traits_tester
import better_templates_matcher_tester
import declaration_matcher_tester
-# import undname_creator_teste... | Remove commented out code Theses tests are gone now, they tested the deprecated binary_parsers package before. | py |
diff --git a/ores/wsgi/routes/v3/spec.py b/ores/wsgi/routes/v3/spec.py
index <HASH>..<HASH> 100644
--- a/ores/wsgi/routes/v3/spec.py
+++ b/ores/wsgi/routes/v3/spec.py
@@ -22,4 +22,4 @@ def generate_spec(config):
return util.jsonify(json.loads(render_template(
"v3_swagger.json",
host=urlparse(requ... | Minor fix to v3 spec route. | py |
diff --git a/mongonaut/forms.py b/mongonaut/forms.py
index <HASH>..<HASH> 100644
--- a/mongonaut/forms.py
+++ b/mongonaut/forms.py
@@ -47,17 +47,17 @@ def document_detail_form_factory(form, document_type, initial=False):
if isinstance(widget, forms.widgets.Select):
form.fields[key] = forms.Choic... | fix on 'required' attribute, which can be taken from first positional argument, add option to specify field names | py |
diff --git a/powerline_shell/segments/username.py b/powerline_shell/segments/username.py
index <HASH>..<HASH> 100644
--- a/powerline_shell/segments/username.py
+++ b/powerline_shell/segments/username.py
@@ -1,5 +1,6 @@
from ..utils import BasicSegment
import os
+import pwd
class Segment(BasicSegment):
@@ -12,7 +... | re-implement #<I> closes #<I> | py |
diff --git a/src/tests/jsonparser/test_json_parser_parses.py b/src/tests/jsonparser/test_json_parser_parses.py
index <HASH>..<HASH> 100644
--- a/src/tests/jsonparser/test_json_parser_parses.py
+++ b/src/tests/jsonparser/test_json_parser_parses.py
@@ -49,7 +49,7 @@ class TestAgreement(unittest.TestCase):
self.a... | Corrected an error on the JSON parser tests. | py |
diff --git a/sensorimotor/sensorimotor/one_d_universe.py b/sensorimotor/sensorimotor/one_d_universe.py
index <HASH>..<HASH> 100644
--- a/sensorimotor/sensorimotor/one_d_universe.py
+++ b/sensorimotor/sensorimotor/one_d_universe.py
@@ -77,7 +77,10 @@ class OneDUniverse(AbstractUniverse):
@return (string) Human vi... | Allow running arbitrarily large capacity tests | py |
diff --git a/master/buildbot/db/model.py b/master/buildbot/db/model.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/db/model.py
+++ b/master/buildbot/db/model.py
@@ -633,6 +633,9 @@ class Model(base.DBConnectorComponent):
('buildset_sourcestamps',
dict(unique=False, column_names=['sourcestamp... | fix db mysql and pg do implicit indexes, that needs to be specified. | py |
diff --git a/changelogs/finder.py b/changelogs/finder.py
index <HASH>..<HASH> 100644
--- a/changelogs/finder.py
+++ b/changelogs/finder.py
@@ -90,8 +90,8 @@ CHANGELOG_FILENAME_CANDIDATES = frozenset([
])
DOCS_CANDIDATES = frozenset([
- "docs", "doc", "documentation",
- "docs/", "doc/", "documentation/",
+ ... | include docs-src as docs candidate | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.