hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
68aad41dd98596567cd0674fb7f70afe885e7a11
diff --git a/lib/visitor/evaluator.js b/lib/visitor/evaluator.js index <HASH>..<HASH> 100644 --- a/lib/visitor/evaluator.js +++ b/lib/visitor/evaluator.js @@ -24,6 +24,23 @@ var Visitor = require('./') , fs = require('fs'); /** + * Clone the block node within the each loop so we don't keep + * extending the same ...
Move the function to the root of the file.
stylus_stylus
train
c13f281997ce795893a671db022f79e16eaac6f8
diff --git a/spec/commands/sql/snapshots/list_spec.rb b/spec/commands/sql/snapshots/list_spec.rb index <HASH>..<HASH> 100644 --- a/spec/commands/sql/snapshots/list_spec.rb +++ b/spec/commands/sql/snapshots/list_spec.rb @@ -17,7 +17,7 @@ describe "brightbox database-snapshots" do let(:argv) { %w(sql snapshots lis...
Have failing tests show why something isn't empty
brightbox_brightbox-cli
train
c970abe88afe183611e13f213687ed9bb5e14e2b
diff --git a/src/test/java/org/mockitousage/annotation/SpyAnnotationTest.java b/src/test/java/org/mockitousage/annotation/SpyAnnotationTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/mockitousage/annotation/SpyAnnotationTest.java +++ b/src/test/java/org/mockitousage/annotation/SpyAnnotationTest.java @@ -1...
Add tests to verify and show that @Spy can be used to allow stubbing/verification of List parameters using varargs. (#<I>) * Add a test to test and show that @Spy can be used to enable stubbing and verifying List-parameters with varargs. * Test that list of matchers (which is the main point of using @Spy) works
mockito_mockito
train
2f10b3d5a72af6bee0960a22629a3171c5fd2646
diff --git a/geomdl/Abstract.py b/geomdl/Abstract.py index <HASH>..<HASH> 100644 --- a/geomdl/Abstract.py +++ b/geomdl/Abstract.py @@ -549,10 +549,10 @@ class Surface(object): :getter: Gets bounding box :type: tuple """ - if not self._bounding_box: + if self._bounding_box is Non...
Update surface bounding box methods as well
orbingol_NURBS-Python
train
9caa1d7cd8e08879564418e87d78ba7c4bc8b22c
diff --git a/Service/Dumper.php b/Service/Dumper.php index <HASH>..<HASH> 100644 --- a/Service/Dumper.php +++ b/Service/Dumper.php @@ -117,7 +117,7 @@ class Dumper extends Generator protected function loadCurrentSitemapIndex($filename) { if (!file_exists($filename)) { - return; + ...
Fixed a notice when trying to update master sitemap if it doesn't exists yet
prestaconcept_PrestaSitemapBundle
train
3a983832ab425e9f3cf4452a6a2a4b3e5841f31f
diff --git a/lib/jsduck/doc_parser.rb b/lib/jsduck/doc_parser.rb index <HASH>..<HASH> 100644 --- a/lib/jsduck/doc_parser.rb +++ b/lib/jsduck/doc_parser.rb @@ -73,6 +73,8 @@ module JsDuck at_class elsif look(/@extends?\b/) at_extends + elsif look(/@mixins?\b/) + at_mixins ...
Implemented @mixins tag. When @mixins tag present, it will override all the implied mixins possibly detected from code. One can either use just one @mixins: @mixins Foo Bar Baz Or several: @mixins Foo @mixins Bar @mixins Baz The result will be the same.
senchalabs_jsduck
train
f304271246c13b01aa061d7dc99acb0a8a1247de
diff --git a/src/Thruway/Authentication/AuthenticationDetails.php b/src/Thruway/Authentication/AuthenticationDetails.php index <HASH>..<HASH> 100644 --- a/src/Thruway/Authentication/AuthenticationDetails.php +++ b/src/Thruway/Authentication/AuthenticationDetails.php @@ -8,7 +8,7 @@ namespace Thruway\Authentication; *...
Pass authentication details to topic state handler
voryx_Thruway
train
a2b5f0710d43121d1be66658c2fb65047530d5cb
diff --git a/lib/rabl/builder.rb b/lib/rabl/builder.rb index <HASH>..<HASH> 100644 --- a/lib/rabl/builder.rb +++ b/lib/rabl/builder.rb @@ -31,7 +31,7 @@ module Rabl extends(settings[:file], settings[:options], &settings[:block]) end if @options.has_key?(:extends) - @_root_name ||= model_name(@_ob...
Adds basic support for to_xml
nesquena_rabl
train
739a64d8f4cf83f94717058440c331e68df0b70f
diff --git a/bonobo/execution/contexts/node.py b/bonobo/execution/contexts/node.py index <HASH>..<HASH> 100644 --- a/bonobo/execution/contexts/node.py +++ b/bonobo/execution/contexts/node.py @@ -1,5 +1,6 @@ import logging import sys +import warnings from queue import Empty from time import sleep from types import ...
Simplification of node execution context, handle_result is now in step() as it is the only logical place where this will actually be called.
python-bonobo_bonobo
train
997fff00c437b10ddbea244c8db181f74d6a43b6
diff --git a/src/Manipulator/Ga/GaAddCampaignToLinks.php b/src/Manipulator/Ga/GaAddCampaignToLinks.php index <HASH>..<HASH> 100644 --- a/src/Manipulator/Ga/GaAddCampaignToLinks.php +++ b/src/Manipulator/Ga/GaAddCampaignToLinks.php @@ -17,7 +17,7 @@ class GaAddCampaignToLinks implements DomManipulatorInterface /** ...
add content en term to ga campaign
24HOURSMEDIA_php-dom-manipulations
train
5cbc48750d782950e3aeec4f06ecf3aaaa8b7927
diff --git a/cumulusci/robotframework/pageobjects/PageObjects.py b/cumulusci/robotframework/pageobjects/PageObjects.py index <HASH>..<HASH> 100644 --- a/cumulusci/robotframework/pageobjects/PageObjects.py +++ b/cumulusci/robotframework/pageobjects/PageObjects.py @@ -271,22 +271,16 @@ class PageObjects(object): def...
For `wait for modal`, make checking the heading optional Without this change it was hard to use this class for the edit modal, since the heading included the object name which the test might not have in hand. You can still verify the heading by explicitly supplying it.
SFDO-Tooling_CumulusCI
train
82773bc0f4c5bc2b0616ddcf467ddcd0cb54bc7b
diff --git a/src/components/control-component.js b/src/components/control-component.js index <HASH>..<HASH> 100644 --- a/src/components/control-component.js +++ b/src/components/control-component.js @@ -8,18 +8,18 @@ class Control extends Component { } componentWillMount() { - const { _onLoad, modelValue } =...
Refactoring onLoad and onSubmit to become publicly available props in the future
davidkpiano_react-redux-form
train
28a0efd38183749987ffcf096672e08be7346bc9
diff --git a/docs/pages/components/carousel/variables/carousel.js b/docs/pages/components/carousel/variables/carousel.js index <HASH>..<HASH> 100755 --- a/docs/pages/components/carousel/variables/carousel.js +++ b/docs/pages/components/carousel/variables/carousel.js @@ -30,19 +30,14 @@ export default [ default...
change variable list in docs to match the variables and values in `src/scss/components/_carousel.scss` (#<I>)
buefy_buefy
train
3009d9847cb48c57c16680408572fd18c8646cd6
diff --git a/src/resources/views/admin/_index.blade.php b/src/resources/views/admin/_index.blade.php index <HASH>..<HASH> 100644 --- a/src/resources/views/admin/_index.blade.php +++ b/src/resources/views/admin/_index.blade.php @@ -1,7 +1,7 @@ <div ng-app="typicms" ng-cloak ng-controller="ListController"> + <a hre...
.btn outside of title h1
TypiCMS_Translations
train
202185f4d4d5e1751231cbd330502a08f8e57116
diff --git a/pypsa/networkclustering.py b/pypsa/networkclustering.py index <HASH>..<HASH> 100644 --- a/pypsa/networkclustering.py +++ b/pypsa/networkclustering.py @@ -54,8 +54,7 @@ def aggregatebuses(network, busmap): .groupby(busmap).agg(strategies) \ .reindex_axis([f for f in network.buses.c...
Allow multiplication by a line length factor when aggregating lines This multiplies the crow-flies distance between aggregated buses to represent the fact that lines are usually longer than the direct distance.
PyPSA_PyPSA
train
ee1ecaaec7369447049690da887a2dfa0c0bc721
diff --git a/lib/adauth/version.rb b/lib/adauth/version.rb index <HASH>..<HASH> 100644 --- a/lib/adauth/version.rb +++ b/lib/adauth/version.rb @@ -1,3 +1,3 @@ module Adauth - Version = "1.0.0pre" + Version = "1.0.0" end \ No newline at end of file
Remove pre from the version ready for release
Arcath_Adauth
train
f133ad992249886104070d1b10482930ade5a2e7
diff --git a/raven/contrib/django/celery/__init__.py b/raven/contrib/django/celery/__init__.py index <HASH>..<HASH> 100644 --- a/raven/contrib/django/celery/__init__.py +++ b/raven/contrib/django/celery/__init__.py @@ -8,8 +8,10 @@ raven.contrib.django.celery from raven.contrib.celery import CeleryMixin from raven....
Newer versions of Celery prefer importing task decorator from the celery.task module.
elastic_apm-agent-python
train
746ff54d05d85f902320367e4e2d63651c8381ea
diff --git a/reformulation-core/src/main/java/org/semanticweb/ontop/owlrefplatform/core/basicoperations/ExtractEqNormResult.java b/reformulation-core/src/main/java/org/semanticweb/ontop/owlrefplatform/core/basicoperations/ExtractEqNormResult.java index <HASH>..<HASH> 100644 --- a/reformulation-core/src/main/java/org/se...
Left join splitting heuristic fixed. Now insert a EQ(true, true) between the two "sub-terms".
ontop_ontop
train
780874c1a1764f69d58ea25286f94cbeb20a335a
diff --git a/lib/bbopx/minerva/requests.js b/lib/bbopx/minerva/requests.js index <HASH>..<HASH> 100644 --- a/lib/bbopx/minerva/requests.js +++ b/lib/bbopx/minerva/requests.js @@ -390,8 +390,11 @@ bbopx.minerva.request = function(entity, operation){ anchor._ensure_list('expressions'); var expression = { - 'typ...
make request expressions mirror what is received from Minerva to unify abstractions
berkeleybop_bbopx-js
train
fabcfa75ab048a9d9c8b0b0136b3ede71cb80520
diff --git a/tests/test_lib.py b/tests/test_lib.py index <HASH>..<HASH> 100755 --- a/tests/test_lib.py +++ b/tests/test_lib.py @@ -77,6 +77,16 @@ class TestHashClass(object): assert res == "3:AXGBicFlgVNhBGcL6wCrFQEv:AXGHsNhxLsr2C" +class TestPseudoHashClass(object): + def test_update(self): + ob...
test - Add tests for PseudoHash() class
DinoTools_python-ssdeep
train
6537d74e7992bb69361fd4443358ba2490a14f69
diff --git a/src/test/java/com/github/davidcarboni/restolino/helpers/ParameterTest.java b/src/test/java/com/github/davidcarboni/restolino/helpers/ParameterTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/github/davidcarboni/restolino/helpers/ParameterTest.java +++ b/src/test/java/com/github/davidcarboni/re...
Cleaned out unused setup method.
davidcarboni_restolino
train
9059849673b260f5b1197ecf9fe68edbd0cc8df1
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -25,9 +25,6 @@ http.request = function (opts, cb) { opts.hostname = opts.hostname || hostHostname || window.location.hostname opts.port = opts.port || hostPort || defaultPort - if (opts.withCredentials === undefined) - ...
Make `withCredentials` default to false This may break compatibility with code that was written for `http-browserify`. Fixes #7
jhiesey_stream-http
train
a8cdc58c144cb3e0d99936932313b186ffa77483
diff --git a/storage/mongodb/readrepository.go b/storage/mongodb/readrepository.go index <HASH>..<HASH> 100644 --- a/storage/mongodb/readrepository.go +++ b/storage/mongodb/readrepository.go @@ -25,6 +25,9 @@ import ( // ErrModelNotSet is when an model is not set on a read repository. var ErrModelNotSet = errors.New(...
Add check for nil query in FindCustom to prevent panics It also allows custom queries to be executed directly in the callback by returning nil as a query and expecting a ErrInvalidQuery error, see the docs for FindCustom.
looplab_eventhorizon
train
c61a5ea94c4f1b4d06ca2446bd3c55a402f98978
diff --git a/lib/toml-rb/dumper.rb b/lib/toml-rb/dumper.rb index <HASH>..<HASH> 100644 --- a/lib/toml-rb/dumper.rb +++ b/lib/toml-rb/dumper.rb @@ -87,6 +87,8 @@ module TomlRB def to_toml(obj) if obj.is_a? Time obj.strftime('%Y-%m-%dT%H:%M:%SZ') + elsif obj.is_a? Regexp + obj.inspect.ins...
Add dumping of regexp as string
emancu_toml-rb
train
802ca2a3cb1d6eb58b2bdd3c80091c9204e2940a
diff --git a/stacker/blueprints/variables/types.py b/stacker/blueprints/variables/types.py index <HASH>..<HASH> 100644 --- a/stacker/blueprints/variables/types.py +++ b/stacker/blueprints/variables/types.py @@ -2,7 +2,8 @@ class TroposphereType(object): - def __init__(self, defined_type, many=False, optional=Fa...
Improve TroposphereType usability (#<I>) - Allow optional and many to be enabled simultaneously. - Allow disabling immediate validation to allow templates to augment values with mandatory parameters. - Clean up docstring - Fail earlier with non-sequence inputs
cloudtools_stacker
train
bdd80d329ef72daa22199abead6518dda4b0b4d9
diff --git a/umap/spectral.py b/umap/spectral.py index <HASH>..<HASH> 100644 --- a/umap/spectral.py +++ b/umap/spectral.py @@ -254,14 +254,20 @@ def spectral_layout(data, graph, dim, random_state, metric="euclidean", metric_k k = dim + 1 num_lanczos_vectors = max(2 * k + 1, int(np.sqrt(graph.shape[0]))) ...
lobpcg for spectral; back to parallel
lmcinnes_umap
train
d35ecc8b7c02e2690b8d50abbb0b8d6a2e04a9d9
diff --git a/compatibility-kit/ruby/features/attachments/attachments_steps.rb b/compatibility-kit/ruby/features/attachments/attachments_steps.rb index <HASH>..<HASH> 100644 --- a/compatibility-kit/ruby/features/attachments/attachments_steps.rb +++ b/compatibility-kit/ruby/features/attachments/attachments_steps.rb @@ -1...
Awful monkey patch to be able to attach a bute stream for Cucumber 3 + json reporter This should be fixed and backported for a new cucumber 3 release.
cucumber_cucumber
train
ce0080cff7902c7bf449dbce0c9fb845df61a12f
diff --git a/mdr/mdr.py b/mdr/mdr.py index <HASH>..<HASH> 100644 --- a/mdr/mdr.py +++ b/mdr/mdr.py @@ -42,9 +42,14 @@ class MDR(object): None """ + # Save params to be recalled later by get_params() + self.params = locals() # Must be placed before any local variable definitions + ...
Add get_params to MDR
EpistasisLab_scikit-mdr
train
9e3ffbc22b459192a7090bfd06433b24be086370
diff --git a/codec_test.go b/codec_test.go index <HASH>..<HASH> 100644 --- a/codec_test.go +++ b/codec_test.go @@ -63,6 +63,66 @@ func TestSchemaCRC64Avro(t *testing.T) { Schema: `[ "int" , {"type":"boolean"} ]`, Fingerprint: 5392556393470105090, }, + { + Schema: `{"fields":[], "type":"record", ...
added remainder of rabin fingerprint test cases from Avro repos resolve #<I>
linkedin_goavro
train
ed1c081db8d1d8a8a6ec5b61f10d8edcdce0a9b6
diff --git a/packages/analytics/autolink/__tests__/autolink.test.js b/packages/analytics/autolink/__tests__/autolink.test.js index <HASH>..<HASH> 100644 --- a/packages/analytics/autolink/__tests__/autolink.test.js +++ b/packages/analytics/autolink/__tests__/autolink.test.js @@ -122,7 +122,7 @@ describe('analytics autol...
test: retest auto link tests
bolt-design-system_bolt
train
2d0034d24e06626cba8d36141c5e0e758d59771c
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -54,10 +54,10 @@ Q446 Missing newline after semicolon Semicolons must be at the end of the line. -Q447 Keywords should be right aligned +Q447 Root keywords should be right aligned ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
Restrict Q<I> checks to Root keywords Root keywords are a subset of the keywords that should be aligned and separted.
pgjones_flake8-sql
train
c7f5954cc42847953fbb99ba3be510efbe29e366
diff --git a/skflow/ops/array_ops.py b/skflow/ops/array_ops.py index <HASH>..<HASH> 100644 --- a/skflow/ops/array_ops.py +++ b/skflow/ops/array_ops.py @@ -60,6 +60,7 @@ def one_hot_matrix(tensor_in, num_classes, on_value=1.0, off_value=0.0): Tensor of shape [N1, N2, num_classes] with 1.0 for each id in origina...
Added shape inference for one_hot_matrix
tensorflow_skflow
train
809196a02daa7385fa4092fc802daeb798036081
diff --git a/pkg/cmd/pulumi/plugin_install.go b/pkg/cmd/pulumi/plugin_install.go index <HASH>..<HASH> 100644 --- a/pkg/cmd/pulumi/plugin_install.go +++ b/pkg/cmd/pulumi/plugin_install.go @@ -76,6 +76,9 @@ func newPluginInstallCmd() *cobra.Command { return fmt.Errorf("invalid plugin semver: %w", err) } ...
Error that version is needed if using --file (#<I>)
pulumi_pulumi
train
b563bbc260b1de800fb5e0e8a6f3bf184fd073dd
diff --git a/lib/Component.js b/lib/Component.js index <HASH>..<HASH> 100644 --- a/lib/Component.js +++ b/lib/Component.js @@ -36,6 +36,10 @@ Framework.Component.prototype.close = function ( ) { // Close all child components self._emptyAllRegions(); + // Unbind model and/or collection + self.model && self.mod...
Garbage collect model and collection bindings.
balderdashy_mast
train
f9337172e7d842c4998eb3b5072e9d6cd5ab4603
diff --git a/firebirdsql/fbcore.py b/firebirdsql/fbcore.py index <HASH>..<HASH> 100644 --- a/firebirdsql/fbcore.py +++ b/firebirdsql/fbcore.py @@ -863,7 +863,7 @@ class Transaction: return not hasattr(self, "trans_handle") -class RowMapping(collections.Mapping): +class RowMapping(dict): """dict like i...
inherit from dict, not collections.Mapping for py<I>
nakagami_pyfirebirdsql
train
06d6d0c282c938294733ad84541e0d19fe98854f
diff --git a/upload/system/library/openbay.php b/upload/system/library/openbay.php index <HASH>..<HASH> 100644 --- a/upload/system/library/openbay.php +++ b/upload/system/library/openbay.php @@ -135,7 +135,7 @@ final class Openbay { */ foreach ($this->installed_markets as $market) { - if ($this->config->get(...
Fixed bug with bulk stock update method and order delete method. It was incorrectly checking for some marketplace statuses so would fail to unlink an order from the market or push a bulk stock update over.
opencart_opencart
train
ed74ca0dda28a6a18c48f0786ac6ff9dbc9a34fb
diff --git a/stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/AgentAttacher.java b/stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/AgentAttacher.java index <HASH>..<HASH> 100644 --- a/stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/AgentAttacher.java +++ b/stagemonitor-...
Throw exception if dispatcher jar is not available which explains that it is necessary to execute gradle processResources beforehand
stagemonitor_stagemonitor
train
b08e87aaf9f171c3c4e5582f6d1af6ff1e21d0dc
diff --git a/src/Riak/Command/TimeSeries/Store.php b/src/Riak/Command/TimeSeries/Store.php index <HASH>..<HASH> 100644 --- a/src/Riak/Command/TimeSeries/Store.php +++ b/src/Riak/Command/TimeSeries/Store.php @@ -2,6 +2,7 @@ namespace Basho\Riak\Command\TimeSeries; +use Basho\Riak; use Basho\Riak\Command; use Bash...
Base<I> encode BLOB fields.
basho_riak-php-client
train
4e610b72626c27a2fa12784cbfadd1ff4b7e1660
diff --git a/src/validation/validate.js b/src/validation/validate.js index <HASH>..<HASH> 100644 --- a/src/validation/validate.js +++ b/src/validation/validate.js @@ -230,7 +230,18 @@ export class ValidationContext { let spreads = this._fragmentSpreads.get(node); if (!spreads) { spreads = []; - ga...
[Validation] Unwrap recursion for collecting fragment spreads
graphql_graphql-js
train
778cd0a9f1ce3671c09bd5e2d6dc729d75ad99bd
diff --git a/haas/plugins/i_result_handler_plugin.py b/haas/plugins/i_result_handler_plugin.py index <HASH>..<HASH> 100644 --- a/haas/plugins/i_result_handler_plugin.py +++ b/haas/plugins/i_result_handler_plugin.py @@ -6,14 +6,14 @@ # of the 3-clause BSD license. See the LICENSE.txt file for details. from __future__...
Add more abstract methods for result handler plugins
scalative_haas
train
8c5d6256c29d7b59df07e6b78c977ca4cd772a59
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -23,14 +23,14 @@ var empowerOptions = { if (typeof baseAssert.deepStrictEqual !== 'function') { baseAssert.deepStrictEqual = function deepStrictEqual (actual, expected, message) { if (!_deepEqual(actual, expecte...
fix(power-assert): omit 5th argument (`stackStartFunction`) to run with old Node (<I>) since it causes ReferenceError under some conditions
power-assert-js_power-assert
train
16844a3987e3e7d20da5b5cebad643f37d13083e
diff --git a/salt/cloud/clouds/vsphere.py b/salt/cloud/clouds/vsphere.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/vsphere.py +++ b/salt/cloud/clouds/vsphere.py @@ -464,6 +464,7 @@ def list_nodes_min(kwargs=None, call=None): # pylint: disable=W0613 comps2 = comps1.split('/') if len(comps2) ...
small fixes added `name_file = comps2[1][:-4]` because I figure if vmware adds a new file type its best to try and work with it. vs giving the user an error that name_file is undefined. from_cache=True, was already the default...
saltstack_salt
train
555fdff7bfaa4b90dc657db6a36bdf79b580bffa
diff --git a/src/Geocoder.php b/src/Geocoder.php index <HASH>..<HASH> 100644 --- a/src/Geocoder.php +++ b/src/Geocoder.php @@ -140,6 +140,7 @@ class Geocoder 'formatted_address' => $result->formatted_address, 'viewport' => $result->geometry->viewport, 'address_componen...
Update formatResponse to include partial_match (#<I>) The Google API returns wether the result is a partial_match (potential misspelling in the search). This is usefull information to return with the result, and is already present in the $result variable. This change also adds the partial_match to the formatted result...
spatie_geocoder
train
b6f4cfe939631e53bc17589d7addfdfeb04c33cc
diff --git a/execute_send_email.py b/execute_send_email.py index <HASH>..<HASH> 100755 --- a/execute_send_email.py +++ b/execute_send_email.py @@ -1,6 +1,6 @@ #! /usr/bin/env python2 # -*- encoding: utf8 -*- - +# Execute this: ./execute_send_email.py -c SMTP_CONFIG.PY_PATH -s SUBJECT -t RECIPIENT [-t RECIPIENT2] [-t...
First version of execute_send_email
Som-Energia_emili
train
38d4602233445786ddf7b5ea7561b32ffb72eb19
diff --git a/operator-api/json/src/main/java/io/motown/operatorapi/json/commands/ImproveChargingStationLocationJsonCommandHandler.java b/operator-api/json/src/main/java/io/motown/operatorapi/json/commands/ImproveChargingStationLocationJsonCommandHandler.java index <HASH>..<HASH> 100644 --- a/operator-api/json/src/main/...
Use AuthService in Improve Location JSON handler
motown-io_motown
train
b4e213f0b5f8865ca59197768b0c081f4d12e862
diff --git a/bika/lims/content/analysis.py b/bika/lims/content/analysis.py index <HASH>..<HASH> 100644 --- a/bika/lims/content/analysis.py +++ b/bika/lims/content/analysis.py @@ -51,10 +51,12 @@ def Priority(instance): @indexer(IAnalysis) def sortable_title_with_sort_key(instance): - sort_key = instance.getServi...
Avoid error when indexing analysis with no service (It should be an error that analyses are ever indexed before the service is configured, but it does sometimes happen when analyses are created in non-standard ways)
senaite_senaite.core
train
dc9c95f2f0a8c80488e8e198cc7f01fbb4040a24
diff --git a/.travis.yml b/.travis.yml index <HASH>..<HASH> 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,15 @@ node_js: - "4.2" - "5" -sudo: false +dist: trusty +sudo: required + +addons: + apt: + sources: + - google-chrome + packages: + - google-chrome-stable cache: directories: @@ ...
Use chrome, not phantom for tests - Make errors more helpful when tests error in the future
kategengler_ember-cli-code-coverage
train
b3736776adb7258c813d349cb72a4aa89772dc88
diff --git a/tests/unit/test_app.py b/tests/unit/test_app.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_app.py +++ b/tests/unit/test_app.py @@ -3,6 +3,7 @@ import base64 import logging import json import gzip +import inspect import pytest from pytest import fixture @@ -1784,3 +1785,18 @@ def test_runtime_...
Add test to verify blueprint has all decorators
aws_chalice
train
b04c2f4ce874023fdd26fdf0704bc5b120a52629
diff --git a/js/components/form/base-form.js b/js/components/form/base-form.js index <HASH>..<HASH> 100644 --- a/js/components/form/base-form.js +++ b/js/components/form/base-form.js @@ -43,6 +43,33 @@ function empty_schema() { return {properties: {}, required: []}; } +/** + * Input type which are text or forma...
Ensure empty form field value is treated as undefined (#<I>) * Ensure '' form field value is treated as undefined
opendatateam_udata
train
f149c37f7cc05a4d8516eeb38d376339c919b99d
diff --git a/condoor/version.py b/condoor/version.py index <HASH>..<HASH> 100644 --- a/condoor/version.py +++ b/condoor/version.py @@ -1,3 +1,3 @@ """Version information.""" -__version__ = '1.0.0b1' +__version__ = '1.0.0b2'
Bumped version number to <I>b2
kstaniek_condoor
train
3f48ed30be7fe338216eb3968c64e54284b21029
diff --git a/tensorpack/libinfo.py b/tensorpack/libinfo.py index <HASH>..<HASH> 100644 --- a/tensorpack/libinfo.py +++ b/tensorpack/libinfo.py @@ -8,5 +8,6 @@ os.environ['OPENCV_OPENCL_RUNTIME'] = '' os.environ['TF_ENABLE_WINOGRAD_NONFUSED'] = '1' # issue#9339 os.environ['TF_AUTOTUNE_THRESHOLD'] = '3' # use more...
fix avgpool issue in TF
tensorpack_tensorpack
train
662b4e1912415dc46295c8b22dc35f7e97354b5e
diff --git a/src/Middleware.php b/src/Middleware.php index <HASH>..<HASH> 100644 --- a/src/Middleware.php +++ b/src/Middleware.php @@ -186,7 +186,7 @@ final class Middleware public static function log(LoggerInterface $logger, MessageFormatter $formatter, string $logLevel = 'info' /* \Psr\Log\LogLevel::INFO */): ca...
Fix logging with a string rejection (#<I>) * Fix logging with a string rejection * rebase fix * cs fix
guzzle_guzzle
train
126ad9ac6f9ab7dd7e0746991a056bb25a25e031
diff --git a/lionengine-game/src/test/java/com/b3dgs/lionengine/game/map/feature/group/MapTileGroupModelTest.java b/lionengine-game/src/test/java/com/b3dgs/lionengine/game/map/feature/group/MapTileGroupModelTest.java index <HASH>..<HASH> 100644 --- a/lionengine-game/src/test/java/com/b3dgs/lionengine/game/map/feature/g...
#<I>: Test result order fixed.
b3dgs_lionengine
train
5f7035f23b087b968697bfe0609d4fb25594eb59
diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_batch.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_batch.py index <HASH>..<HASH> 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_batch.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_batch.py @@ -220,7 +220,7 @@ c...
[textanalytics] Fix live test framework (#<I>) * fixes to test framework b/c new release of azure-mgmt-cognitiveservices * fix for recorded tests and service bug failing live tests * actually fix live/recorded tests * also fix for legacy tests
Azure_azure-sdk-for-python
train
bbaf09dbf8fc2795c424f0934e4dce9924edb009
diff --git a/mwparserfromhell/wikicode.py b/mwparserfromhell/wikicode.py index <HASH>..<HASH> 100644 --- a/mwparserfromhell/wikicode.py +++ b/mwparserfromhell/wikicode.py @@ -168,7 +168,7 @@ class Wikicode(StringMixIn): doc = """Iterate over {0}. This is equivalent to :py:meth:`{1}` with *forcetype*...
Fix docstrings of generated filter methods.
earwig_mwparserfromhell
train
e586bed374f814ba7654fc59ca1f0d65ab212e6b
diff --git a/src/Template/PullRequest/Create/SymfonyTemplate.php b/src/Template/PullRequest/Create/SymfonyTemplate.php index <HASH>..<HASH> 100644 --- a/src/Template/PullRequest/Create/SymfonyTemplate.php +++ b/src/Template/PullRequest/Create/SymfonyTemplate.php @@ -24,7 +24,7 @@ class SymfonyTemplate extends AbstractS...
"Test pass?" defaults to "yes" at `SymfonyTemplate`
gushphp_gush
train
8b43056a03aa014d071c1393e3edd793fa594180
diff --git a/src/project/FileTreeView.js b/src/project/FileTreeView.js index <HASH>..<HASH> 100644 --- a/src/project/FileTreeView.js +++ b/src/project/FileTreeView.js @@ -862,7 +862,7 @@ define(function (require, exports, module) { } var node = this.getDOMNode(), - selectedNod...
Fix the misaligned selection extension when creating a folder
adobe_brackets
train
71355078fcae09c7f916ecd1915047807dae36f8
diff --git a/config/icons.js b/config/icons.js index <HASH>..<HASH> 100644 --- a/config/icons.js +++ b/config/icons.js @@ -53,10 +53,6 @@ module.exports = function () { 'print', 'shuffle', 'sort', - 'sort-alpha-down', - 'sort-alpha-down-alt', - 'sort-numeric-down', - 'sort-numer...
rm replaced icons from config.
ilios_common
train
a8eebe95b8d56f11f1b0e30ab5dbc0261ecf3ee1
diff --git a/stepper.py b/stepper.py index <HASH>..<HASH> 100755 --- a/stepper.py +++ b/stepper.py @@ -402,7 +402,7 @@ elif (ammo_type == "uri"): input_ammo = open(ammo_file, "r") for l in range(1, loop + 1): for line in input_ammo: - m = re.match("^\/", line) + ...
Fix uri-style for proxy requests
yandex_yandex-tank
train
d4444df45b5c496710cdbb85f5f2580e4a8417c5
diff --git a/src/Testing/TaskTest.php b/src/Testing/TaskTest.php index <HASH>..<HASH> 100644 --- a/src/Testing/TaskTest.php +++ b/src/Testing/TaskTest.php @@ -25,7 +25,7 @@ class TaskTest extends UnitTest TaskTest::$eventChain->before('test_task_num_' . $this->taskCounter, 'test_task_done'); $this->...
rename taskTest runTest to runTaskTest
youzan_zanphp
train
3a952caf2fe6f08bc582c4c2edd66b70afc788b5
diff --git a/lxd/device/device_utils_network.go b/lxd/device/device_utils_network.go index <HASH>..<HASH> 100644 --- a/lxd/device/device_utils_network.go +++ b/lxd/device/device_utils_network.go @@ -18,7 +18,6 @@ import ( "github.com/lxc/lxd/lxd/project" "github.com/lxc/lxd/lxd/revert" "github.com/lxc/lxd/lxd/sta...
lxd/device/device/utils/network: network.VLANInterfaceCreate usage
lxc_lxd
train
c5007d415ac5f228cf3c73e78e1f8789b19cf73e
diff --git a/src/Commands/CleanCommand.php b/src/Commands/CleanCommand.php index <HASH>..<HASH> 100644 --- a/src/Commands/CleanCommand.php +++ b/src/Commands/CleanCommand.php @@ -171,8 +171,11 @@ class CleanCommand extends Command if (is_null(config("filesystems.disks.{$diskName}"))) { throw FileC...
Fix absolute references to media.id (#<I>)
spatie_laravel-medialibrary
train
70bc01f39412abc849cd77abd2abb29b224393f9
diff --git a/src/main/java/org/msgpack/template/TemplateRegistry.java b/src/main/java/org/msgpack/template/TemplateRegistry.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/msgpack/template/TemplateRegistry.java +++ b/src/main/java/org/msgpack/template/TemplateRegistry.java @@ -157,26 +157,22 @@ public class Te...
deleted forceLoad flag in TemplateRegistry
msgpack_msgpack-java
train
b8f54c7bd5ca2931066a5b8f4746b99d2f2759c6
diff --git a/npm_scripts/exec.js b/npm_scripts/exec.js index <HASH>..<HASH> 100644 --- a/npm_scripts/exec.js +++ b/npm_scripts/exec.js @@ -1,5 +1,5 @@ const execSync = require('child_process').execSync; module.exports = function exec(command) { - execSync(command, { stdio: 'inherit' }); + execSync(command, { stdi...
chore(npm_scripts/exec): fix stdio argument Fix the stdio option for execSync so that output is written to the terminal.
Pearson-Higher-Ed_elements
train
1d84a3b58aa752834aed31123dd16e3bfa723609
diff --git a/tests/storage_adapter_tests/test_storage_adapter.py b/tests/storage_adapter_tests/test_storage_adapter.py index <HASH>..<HASH> 100644 --- a/tests/storage_adapter_tests/test_storage_adapter.py +++ b/tests/storage_adapter_tests/test_storage_adapter.py @@ -18,10 +18,6 @@ class StorageAdapterTestCase(TestCase)...
Remove tests for storage adapter methods being removed.
gunthercox_ChatterBot
train
5edddcc85b0e21bb576b71db63d082c8ace5cf70
diff --git a/examples/boilerplates/samples/google_test.py b/examples/boilerplates/samples/google_test.py index <HASH>..<HASH> 100755 --- a/examples/boilerplates/samples/google_test.py +++ b/examples/boilerplates/samples/google_test.py @@ -14,6 +14,5 @@ class GoogleTests(BaseCase): self.assert_element(HomePage....
Update Google boilerplate test. (Logo frequently changes)
seleniumbase_SeleniumBase
train
59e8cddaff9008e197c06bcee05cdaacffb861be
diff --git a/lib/cocaine/asio/zipper.rb b/lib/cocaine/asio/zipper.rb index <HASH>..<HASH> 100644 --- a/lib/cocaine/asio/zipper.rb +++ b/lib/cocaine/asio/zipper.rb @@ -2,9 +2,13 @@ require 'cocaine/future' class Cocaine::ChannelZipper def initialize(channel) - @channel = channel - @channel.callback { |result...
Zipper can now merge errorbacks.
cocaine_cocaine-framework-ruby
train
0802504299f3fd21c96928e615b16bd2f3915f68
diff --git a/tests/Integration/Util/IntegrationTestFactory.php b/tests/Integration/Util/IntegrationTestFactory.php index <HASH>..<HASH> 100644 --- a/tests/Integration/Util/IntegrationTestFactory.php +++ b/tests/Integration/Util/IntegrationTestFactory.php @@ -437,14 +437,6 @@ class IntegrationTestFactory implements Fact...
Issue #<I>: Remove obsolete factory methods
lizards-and-pumpkins_catalog
train
5489f80cb62916fce876c22b4328380349b0905c
diff --git a/app/models/agents/tumblr_publish_agent.rb b/app/models/agents/tumblr_publish_agent.rb index <HASH>..<HASH> 100644 --- a/app/models/agents/tumblr_publish_agent.rb +++ b/app/models/agents/tumblr_publish_agent.rb @@ -7,6 +7,8 @@ module Agents cannot_be_scheduled! description <<-MD + #{'## Inc...
Adds validation for Tumblr class definition
huginn_huginn
train
df4248079398c001e516ed7aed03ed4bce211bb3
diff --git a/cflib/bootloader/cloader.py b/cflib/bootloader/cloader.py index <HASH>..<HASH> 100644 --- a/cflib/bootloader/cloader.py +++ b/cflib/bootloader/cloader.py @@ -37,7 +37,6 @@ import cflib.crtp from .boottypes import Target from .boottypes import TargetTypes from cflib.crtp.crtpstack import CRTPPacket -from...
cloader: Improve reset_to_[bootloader|firmware] - Add resend to `reset_to_firmware`, packets can get lost - Make sure we return True / False from `reset_to_firmware` - Add timeout in seconds, instead of amount of retries - Remove legacy CF1 code to make flow more clear
bitcraze_crazyflie-lib-python
train
00aff09099d0b6a159276ecefa301db0be711cd1
diff --git a/utlz/__init__.py b/utlz/__init__.py index <HASH>..<HASH> 100644 --- a/utlz/__init__.py +++ b/utlz/__init__.py @@ -536,9 +536,10 @@ def namedtuple(typename, field_names, lazy_vals=None, **kwargs): # and one _del_hook_cache dict as class properties for storing the lazy # vals and the del-ho...
self could be a non-hashable list
theno_utlz
train
3acb2077d53e238d620e958fe44898cfff399d21
diff --git a/tests/test_apps/genqa/src/genqa/AsyncExportClient.java b/tests/test_apps/genqa/src/genqa/AsyncExportClient.java index <HASH>..<HASH> 100644 --- a/tests/test_apps/genqa/src/genqa/AsyncExportClient.java +++ b/tests/test_apps/genqa/src/genqa/AsyncExportClient.java @@ -492,8 +492,6 @@ public class AsyncExportC...
ENG-<I>: remove AsyncExportClient export drain monitoring code (#<I>) As the code was looping through export stats, it would extend the time to wait if last_pending != pending. It was incorrectly comparing last pending to current pending for different partitions. It should have been comparing last to current for the...
VoltDB_voltdb
train
10971ad37aebef24f17d267e9124997cda7bac47
diff --git a/v2/web/campaigntypes/routes.go b/v2/web/campaigntypes/routes.go index <HASH>..<HASH> 100644 --- a/v2/web/campaigntypes/routes.go +++ b/v2/web/campaigntypes/routes.go @@ -20,7 +20,7 @@ type Routes struct { func (r Routes) Register(m muxer) { m.Handle("POST", "/senders/{sender_id}/campaign_types", NewCrea...
Fixes campaign type route for show endpoint to handle trailing slash [#<I>]
cloudfoundry-incubator_notifications
train
37e8f5dbc51e250627a14c340338a28b9b5a9c7c
diff --git a/polyaxon_client/base.py b/polyaxon_client/base.py index <HASH>..<HASH> 100644 --- a/polyaxon_client/base.py +++ b/polyaxon_client/base.py @@ -155,11 +155,11 @@ class PolyaxonClient(object): progress_callback, bar = self.create_progress_callback(multipart_encoder) multipart_encoder_monitor...
Set upload with put and fix project tests
polyaxon_polyaxon
train
76e4a1e31a8bd3d596ddc3e405d294472b7f9d3d
diff --git a/src/main/java/org/thymeleaf/context/EngineContext.java b/src/main/java/org/thymeleaf/context/EngineContext.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/thymeleaf/context/EngineContext.java +++ b/src/main/java/org/thymeleaf/context/EngineContext.java @@ -89,6 +89,14 @@ public class EngineContext...
Made several optimizations to variable access in EngineContext
thymeleaf_thymeleaf
train
50d37e33a066bbf755fd5878a2db9f5402f546f3
diff --git a/lib/rack/cors.rb b/lib/rack/cors.rb index <HASH>..<HASH> 100644 --- a/lib/rack/cors.rb +++ b/lib/rack/cors.rb @@ -333,7 +333,6 @@ module Rack end def to_headers(env) - x_origin = env['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'] h = { 'Access-Control-Allow-Orig...
remove unused variable this removes the following Ruby warning: ``` rack-cors-<I>/lib/rack/cors.rb:<I>: warning: assigned but unused variable - x_origin ```
cyu_rack-cors
train
f13e6ddb974db715d3288990e642a448e1bfedd3
diff --git a/lib/puppet-lint/lexer.rb b/lib/puppet-lint/lexer.rb index <HASH>..<HASH> 100644 --- a/lib/puppet-lint/lexer.rb +++ b/lib/puppet-lint/lexer.rb @@ -89,11 +89,13 @@ class PuppetLint # a single regular expression. Each sub-Array contains 2 elements, the # name of the token as a Symbol and a regular ...
Add new :FUNCTION_NAME token for when a :NAME token is followed by an :LPAREN
rodjek_puppet-lint
train
ed0e800af8388c4d2ee5b1135ba55b2a1f220f65
diff --git a/bigpipe.js b/bigpipe.js index <HASH>..<HASH> 100644 --- a/bigpipe.js +++ b/bigpipe.js @@ -16,16 +16,11 @@ var EventEmitter = require('eventemitter3') * - id: The id of the page that we're loading. * * @constructor - * @param {String} server The server address we need to connect to. * @param {Object...
[minor] Use the new replacer API which fittings is using [fix] Remove pointless server reference
bigpipe_bigpipe.js
train
7416b8fdfa78ab28d42e1712117629c9b19b624d
diff --git a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/rollup/Granularity.java b/blueflood-core/src/main/java/com/rackspacecloud/blueflood/rollup/Granularity.java index <HASH>..<HASH> 100644 --- a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/rollup/Granularity.java +++ b/blueflood-core/src/...
Simplify slotFromFinerSlot computation
rackerlabs_blueflood
train
08c422f31100f46b1cf0a57f092bc1ed04daba29
diff --git a/restcomm/restcomm.identity/src/test/java/org/mobicents/servlet/restcomm/identity/migration/IdentityMigrationToolIT.java b/restcomm/restcomm.identity/src/test/java/org/mobicents/servlet/restcomm/identity/migration/IdentityMigrationToolIT.java index <HASH>..<HASH> 100644 --- a/restcomm/restcomm.identity/src/...
Updated ITs for IdentityMigrationTool. Refers #<I>
RestComm_Restcomm-Connect
train
41aeace211129d6f554ca10a8a804db779cf40c0
diff --git a/libfs/fs_notifications.go b/libfs/fs_notifications.go index <HASH>..<HASH> 100644 --- a/libfs/fs_notifications.go +++ b/libfs/fs_notifications.go @@ -71,17 +71,14 @@ func (f *FSNotifications) processNotifications(ctx context.Context) { // QueueNotification queues a notification, which must be // goroutin...
fs_notifications: Fix potential panic due to closed channel.
keybase_client
train
1b2ad13db22707aa02190c062c2aa32b6432cac5
diff --git a/molgenis-ontology/src/main/java/org/molgenis/ontology/sorta/controller/SortaController.java b/molgenis-ontology/src/main/java/org/molgenis/ontology/sorta/controller/SortaController.java index <HASH>..<HASH> 100644 --- a/molgenis-ontology/src/main/java/org/molgenis/ontology/sorta/controller/SortaController....
Change plugin id from sortaservice to sorta
molgenis_molgenis
train
2bf6fde3f743e8e2ff065a5b0761497cf3be368d
diff --git a/py/test/selenium/webdriver/common/page_loading_tests.py b/py/test/selenium/webdriver/common/page_loading_tests.py index <HASH>..<HASH> 100644 --- a/py/test/selenium/webdriver/common/page_loading_tests.py +++ b/py/test/selenium/webdriver/common/page_loading_tests.py @@ -43,15 +43,9 @@ class TestPageLoading(...
[py] Fix testShouldReturnWhenGettingAUrlThatDoesNotResolve so it does not expect an exception
SeleniumHQ_selenium
train
6b3f4b2ab8e51b2813bb22b30e078c1eef2e73d7
diff --git a/lxd/device/device_utils_disk.go b/lxd/device/device_utils_disk.go index <HASH>..<HASH> 100644 --- a/lxd/device/device_utils_disk.go +++ b/lxd/device/device_utils_disk.go @@ -17,7 +17,7 @@ var StorageVolumeMount func(s *state.State, poolName string, volumeName string, var StorageVolumeUmount func(s *state...
lxd/device/device/utils/disk: Changes signature of StorageRootFSApplyQuota
lxc_lxd
train
dc139c1fa0c47a82587c83ec2b1c9c1d44b5b8dd
diff --git a/restcomm/restcomm.mgcp/src/main/java/org/mobicents/servlet/restcomm/mgcp/mrb/ConferenceMediaResourceController.java b/restcomm/restcomm.mgcp/src/main/java/org/mobicents/servlet/restcomm/mgcp/mrb/ConferenceMediaResourceController.java index <HASH>..<HASH> 100644 --- a/restcomm/restcomm.mgcp/src/main/java/or...
debugging resource creation for conference #<I>
RestComm_Restcomm-Connect
train
0b32b485b91dcf6fad40a99f1e3d15469f436bf8
diff --git a/lib/solve/errors.rb b/lib/solve/errors.rb index <HASH>..<HASH> 100644 --- a/lib/solve/errors.rb +++ b/lib/solve/errors.rb @@ -43,7 +43,8 @@ module Solve s << "#{@message}\n" s << "Missing artifacts: #{missing_artifacts.join(',')}\n" unless missing_artifacts.empty? unless constrai...
Make NoSolutionError constraints match format of input When setting constraints, they are specified like `["package", "constraint"]` However the NoSolutionError was outputing them as a string like `"(package constraint)"` which makes it much harder to programmatically determine what constraints had no solution. It mak...
berkshelf_solve
train
a434ddfb51fbaed36825a1e2b4b8b13c4882fb7f
diff --git a/findbugsTestCases/src/java/sfBugsNew/Bug1184.java b/findbugsTestCases/src/java/sfBugsNew/Bug1184.java index <HASH>..<HASH> 100644 --- a/findbugsTestCases/src/java/sfBugsNew/Bug1184.java +++ b/findbugsTestCases/src/java/sfBugsNew/Bug1184.java @@ -3,11 +3,11 @@ package sfBugsNew; import java.util.ArrayList;...
Warning isn't generated when compiled with Java <I>
spotbugs_spotbugs
train
4347834d6989ade3d7bfa2086bee7035f3b4c3f3
diff --git a/app/controllers/staypuft/deployment_steps_controller.rb b/app/controllers/staypuft/deployment_steps_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/staypuft/deployment_steps_controller.rb +++ b/app/controllers/staypuft/deployment_steps_controller.rb @@ -29,6 +29,7 @@ module Staypuft ...
Set include_neutron to false for nova networking, add service puppet config to HG
theforeman_staypuft
train
6bf21bbc0945f264604edc7eb751456e20eed653
diff --git a/test/index.test.js b/test/index.test.js index <HASH>..<HASH> 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -6,7 +6,7 @@ describe('Boostrap Pagelet', function () { , Pagelet = require('pagelet') , Temper = require('temper') , assume = require('assume') - , pagelet, P, pipe; +...
[test] pass use bigpipe option property
bigpipe_bootstrap-pagelet
train
7097a7197455dc6efa5753a120780af7453ca693
diff --git a/pwnypack/elf.py b/pwnypack/elf.py index <HASH>..<HASH> 100644 --- a/pwnypack/elf.py +++ b/pwnypack/elf.py @@ -358,9 +358,9 @@ class ELF(Target): while syms: sym, syms = syms[:fmt_size], syms[fmt_size:] if self.bits == 32: - st_name, st_value, st_size, st_in...
Fix cross endian ELF symbol table parsing. The default endianness was always used to parse symbol tables instead of the endianness of the ELF file.
edibledinos_pwnypack
train
2aa0e4bfcb6544ac4daf1c1b16913f337ccd351d
diff --git a/backend/elastic.js b/backend/elastic.js index <HASH>..<HASH> 100755 --- a/backend/elastic.js +++ b/backend/elastic.js @@ -119,32 +119,44 @@ class Elastic { { 'class.classId.keyword': { order: 'asc', unmapped_type: 'keyword' } }, // Use lower classId has tiebreaker after relevance ], ...
add function score query to lower labs, recitations and seminars
ryanhugh_searchneu
train
ccec5f67d6e988839945c3ca36abdc75358bd0b7
diff --git a/tests/base.py b/tests/base.py index <HASH>..<HASH> 100644 --- a/tests/base.py +++ b/tests/base.py @@ -9,13 +9,6 @@ import unittest2 from conf import SCM_TESTS, get_new_dir -from vcs.exceptions import EmptyRepositoryError -from vcs.exceptions import NodeAlreadyAddedError -from vcs.exceptions import Nod...
Removed some prints and unused imports from tests
codeinn_vcs
train
0a5a35d8dd0a038fdfa436537817aab6e833ffe2
diff --git a/js/assessor.js b/js/assessor.js index <HASH>..<HASH> 100644 --- a/js/assessor.js +++ b/js/assessor.js @@ -157,8 +157,8 @@ Assessor.prototype.executeAssessment = function( paper, researcher, assessment ) result.setScore( 0 ); result.setText( this.i18n.sprintf( - this.i18n.dgettext( "js-text-analys...
Make assessor error comment more user friendly
Yoast_YoastSEO.js
train
3f44b8950e4f6c99b0fa64ea037c10026644d74f
diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableCollection.java b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableCollection.java index <HASH>..<HASH> 100644 --- a/subprojects/groovy-ginq/src/main/groovy...
Trivial refactoring: inline redundant method
apache_groovy
train
d3143d37c9b2d1b4896d034b9836d88f15b6916b
diff --git a/request.go b/request.go index <HASH>..<HASH> 100644 --- a/request.go +++ b/request.go @@ -242,6 +242,9 @@ func (r *Request) parseCookies() (err os.Error) { for _, cookie := range (cookies) { cookie = strings.TrimSpace(cookie) parts := strings.Split(cookie, "="...
Fixed issue parsing invalid cookies The logger prints the request method
hoisie_web
train
6f0e293c9a02c39bf38fa60794fc17626a1dd606
diff --git a/dvc/command/pipeline.py b/dvc/command/pipeline.py index <HASH>..<HASH> 100644 --- a/dvc/command/pipeline.py +++ b/dvc/command/pipeline.py @@ -62,8 +62,7 @@ class CmdPipelineShow(CmdBase): edges.append((from_stage.relpath, to_stage.relpath)) nodes = list(nodes) - if len(no...
test: cover `pipeline show`
iterative_dvc
train
dd60236d57757ac738fd37fcdf791d8a1688f5ed
diff --git a/neopixel.py b/neopixel.py index <HASH>..<HASH> 100644 --- a/neopixel.py +++ b/neopixel.py @@ -103,6 +103,11 @@ class NeoPixel(_pixelbuf.PixelBuf): time.sleep(2) """ def __init__(self, pin, n, *, bpp=3, brightness=1.0, auto_write=True, pixel_order=None): + self._configure(n, bp...
Add NeoPixel_SPI from master
adafruit_Adafruit_CircuitPython_NeoPixel
train
d193ef91d5cd3ad4ba1e60d2556f69f9c9ee35ef
diff --git a/nion/swift/Application.py b/nion/swift/Application.py index <HASH>..<HASH> 100644 --- a/nion/swift/Application.py +++ b/nion/swift/Application.py @@ -1,5 +1,4 @@ # standard libraries -import asyncio import copy import gettext import json @@ -38,7 +37,6 @@ from nion.swift.model import PlugInManager fro...
Remove app event loop (now supplied by base class).
nion-software_nionswift
train
77ce60ef6f289ee17203e54252f9b89377553c19
diff --git a/kundera-cassandra/src/test/java/com/impetus/client/persistence/NativeQueryCQLV3Test.java b/kundera-cassandra/src/test/java/com/impetus/client/persistence/NativeQueryCQLV3Test.java index <HASH>..<HASH> 100644 --- a/kundera-cassandra/src/test/java/com/impetus/client/persistence/NativeQueryCQLV3Test.java +++ ...
Added test case for batch over multiple tables
Impetus_Kundera
train
e009534f582eba58c3fa3a869fd7db3806496c72
diff --git a/lib/pnut.js b/lib/pnut.js index <HASH>..<HASH> 100644 --- a/lib/pnut.js +++ b/lib/pnut.js @@ -101,7 +101,7 @@ const pnut = () => { * @returns {<Promise>} */ revisions(id) { - return call(`${_base}/posts/1/revisions`); + return call(`${_base}/posts/${id}/revisions`); }, ...
id should not be hard coded
kaiwood_pnut-butter
train