hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
e7030b13acae4170a0f26f67d834e9a342357679
diff --git a/angr/surveyors/explorer.py b/angr/surveyors/explorer.py index <HASH>..<HASH> 100644 --- a/angr/surveyors/explorer.py +++ b/angr/surveyors/explorer.py @@ -183,6 +183,10 @@ class Explorer(Surveyor): self.avoided.append(p) return False elif self._match(self._find, p, imark_set): + if not p.state....
make sure found paths are satisfiable
angr_angr
train
py
d8e905c3906edb2a2bdac490f63d0ef383d72d2c
diff --git a/src/decorators/on.js b/src/decorators/on.js index <HASH>..<HASH> 100644 --- a/src/decorators/on.js +++ b/src/decorators/on.js @@ -44,7 +44,7 @@ on.helper.registerEvent = (target, eventDomain, method, callback = function(){}) let [ event, delegateSelector ] = on.helper.prepareEventDomain(eventDomain); ...
src/decorators/on.js: refactored the part of how to structure target.$appDecorators.on.events
SerkanSipahi_app-decorators
train
js
9b447c1b9625ffb3bfe30e01ea0e98a697079ef3
diff --git a/gem_dependency_checker.rb b/gem_dependency_checker.rb index <HASH>..<HASH> 100755 --- a/gem_dependency_checker.rb +++ b/gem_dependency_checker.rb @@ -17,6 +17,7 @@ require 'git' require 'xmlrpc/client' XMLRPC::Config::ENABLE_NIL_PARSER = true +XMLRPC::Config::ENABLE_NIL_CREATE = true ###############...
use listTagged in koji lookup to retrieve all builds as opposed to the lasted one as returned with getLatestBuilds
ManageIQ_polisher
train
rb
ef1f9aaa79a339be5f00a17a052e2fa899f7b016
diff --git a/bolt/utils.py b/bolt/utils.py index <HASH>..<HASH> 100644 --- a/bolt/utils.py +++ b/bolt/utils.py @@ -14,6 +14,8 @@ def tupleize(arg): return tuple((arg,)) elif isinstance(arg, (list, ndarray)): return tuple(arg) + elif hasattr(arg, '__iter__'): + return tuple(list(arg)) ...
fixed tupleize to work with iterators
bolt-project_bolt
train
py
1c58143a18e4b6fcf62cba6bbcc1461b10dc9161
diff --git a/lib/has_scope.rb b/lib/has_scope.rb index <HASH>..<HASH> 100644 --- a/lib/has_scope.rb +++ b/lib/has_scope.rb @@ -12,6 +12,7 @@ module HasScope base.class_eval do extend ClassMethods class_attribute :scopes_configuration, :instance_writer => false + self.scopes_configuration = {} ...
Initialize scopes configuration to avoid guard method Remove unnecessary self calls.
plataformatec_has_scope
train
rb
145f57d9b4dbb901301279916b11c60c1dcffea8
diff --git a/lib/websession_templates.py b/lib/websession_templates.py index <HASH>..<HASH> 100644 --- a/lib/websession_templates.py +++ b/lib/websession_templates.py @@ -1231,7 +1231,7 @@ class Template: out = '''<div class="hassubmenu%(on)s"> <a hreflang="en" class="header%(selected)s" href="%(CFG...
WebStyle: fluid width of the menu * Deletes the fixed width of the menus of the websession_templates.py and bibcirculation_templates.py files. (closes #<I>) * Adds new file invenio-ie7.css with some specific styles for IE7. * Adds aconditional comment in the webstyle_templates.py file, to force IE7 to load the ...
inveniosoftware_invenio-accounts
train
py
d9031e3c0b089d29042f654eda5a59edf50bf253
diff --git a/modeldict/base.py b/modeldict/base.py index <HASH>..<HASH> 100644 --- a/modeldict/base.py +++ b/modeldict/base.py @@ -14,7 +14,7 @@ class PersistedDict(object): self.__dict = dict() self.last_synced = 0 self.autosync = autosync - # self.__sync_with_persistent_storage(force...
Add back in syncing for modeldict.
disqus_durabledict
train
py,py
ac3378022cd80daaa48ad1fbeded6a892c8f9082
diff --git a/server.go b/server.go index <HASH>..<HASH> 100644 --- a/server.go +++ b/server.go @@ -102,3 +102,7 @@ func (s *Server) HandleFile(handler HandlerFunction, description ...string) { func (s *Server) HandleDefault(handler HandlerFunction, description ...string) { s.mux.HandleDefault(handler, description......
Delegate SetAlias from Server to Mux.
yanzay_tbot
train
go
1cfd16b095b8793fdda2a21c8dd0c5348ec386b9
diff --git a/lib/solr_wrapper/configuration.rb b/lib/solr_wrapper/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/solr_wrapper/configuration.rb +++ b/lib/solr_wrapper/configuration.rb @@ -55,7 +55,7 @@ module SolrWrapper end def default_download_dir - if defined? Rails + if defined?(Rails) ...
Guard against having Rails but not running in a Rails application
cbeer_solr_wrapper
train
rb
87de6f020c109f2c0a1a8f437524a3af5db73f22
diff --git a/pkg/cmd/cli/kubectl_compat_test.go b/pkg/cmd/cli/kubectl_compat_test.go index <HASH>..<HASH> 100644 --- a/pkg/cmd/cli/kubectl_compat_test.go +++ b/pkg/cmd/cli/kubectl_compat_test.go @@ -27,6 +27,7 @@ var MissingCommands = sets.NewString( "uncordon", "taint", "top", + "certificate", ) // Whitelist...
Added certificate to ignored kube commands in tests
openshift_origin
train
go
790d6d65879f64f2f5ca760db4242cd3a61693a5
diff --git a/sos/report/plugins/virsh.py b/sos/report/plugins/virsh.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/virsh.py +++ b/sos/report/plugins/virsh.py @@ -48,7 +48,11 @@ class LibvirtClient(Plugin, IndependentPlugin): if k_list['status'] == 0: k_lines = k_list['output'].spl...
[virsh] Catch parsing exception In case virsh output is malformed or missing 'Name' otherwise, catch parsing exception and continue in next for loop iteration. Resolves: #<I>
sosreport_sos
train
py
1af7158c272b3a724db3884114a975aae2b2dfaf
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -38,6 +38,12 @@ setup( 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + ...
Add more classifiers to setup.py. Show we support Python3.
ocadotechnology_django-closuretree
train
py
2c1b5e8530034cace550cda78778d129552b97d4
diff --git a/src/Engine/Solr/SolrMapper.php b/src/Engine/Solr/SolrMapper.php index <HASH>..<HASH> 100644 --- a/src/Engine/Solr/SolrMapper.php +++ b/src/Engine/Solr/SolrMapper.php @@ -37,7 +37,15 @@ class SolrMapper implements MapperInterface /** * @param IdentityInterface $identity */ - public funct...
<I> - Added find method.
g4code_data-mapper
train
php
394fa5c55eb85d4a77413170b0b99bc29227d563
diff --git a/joinGame.py b/joinGame.py index <HASH>..<HASH> 100644 --- a/joinGame.py +++ b/joinGame.py @@ -30,7 +30,7 @@ def playerJoin(hostCfg, config, agentCallBack=go.doNothing, debug=False): joinReq.server_ports.game_port = gameP joinReq.server_ports.base_port = baseP joinReq.shared_port ...
- joinGame.py needs to be updated to match the latest refactored code
ttinies_sc2gameLobby
train
py
1ad612298e3729dce965cf84049002e0fd86fe8f
diff --git a/tests/Integration/TypesTest.php b/tests/Integration/TypesTest.php index <HASH>..<HASH> 100644 --- a/tests/Integration/TypesTest.php +++ b/tests/Integration/TypesTest.php @@ -30,7 +30,8 @@ class TypesTest extends BaseTest $event = $this->createAndInsertValue($create_query, $insert_query); - ...
Fixed decimal is not correct (#<I>) * Added test case for decimal * Fixed decimal
krowinski_php-mysql-replication
train
php
91a5027db783f445889bdb65ab2ca32e82329cd8
diff --git a/tests/index.test.js b/tests/index.test.js index <HASH>..<HASH> 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -325,3 +325,16 @@ it('can deal with non-numerical version numbers returned by browserslist for saf })) .toBeTruthy() }) + +it('gracefully fails on invalid inputs', () => {...
chore(tests): add failing test case
browserslist_browserslist-useragent
train
js
5d78c19ece8b5c1c2d18b55603bbdd7833aa4166
diff --git a/lib/cable_ready/identifiable.rb b/lib/cable_ready/identifiable.rb index <HASH>..<HASH> 100644 --- a/lib/cable_ready/identifiable.rb +++ b/lib/cable_ready/identifiable.rb @@ -17,7 +17,7 @@ module CableReady [prefix, record.to_s.strip].compact.join("_") end - "##{id}".squeeze("#").stri...
dom_id should always be lowercase (#<I>)
hopsoft_cable_ready
train
rb
0463519cd32b4ff8d723d21a13ffc96f66e20330
diff --git a/DoctrineCommand.php b/DoctrineCommand.php index <HASH>..<HASH> 100644 --- a/DoctrineCommand.php +++ b/DoctrineCommand.php @@ -30,10 +30,6 @@ abstract class DoctrineCommand extends Command protected function getEntityGenerator() { $entityGenerator = new EntityGenerator(); - - if (v...
[DoctrineBundle] removed the annotation prefix in doctrine:mapping:import (this will work as soon as the EntityGenerator has been updated in Doctrine)
saxulum_saxulum-doctrine-orm-commands
train
php
6bed7e142f43f100fcaad8d377c42d6e11225574
diff --git a/src/main/java/skadistats/clarity/decoder/prop/Int64Decoder.java b/src/main/java/skadistats/clarity/decoder/prop/Int64Decoder.java index <HASH>..<HASH> 100644 --- a/src/main/java/skadistats/clarity/decoder/prop/Int64Decoder.java +++ b/src/main/java/skadistats/clarity/decoder/prop/Int64Decoder.java @@ -30,7 ...
Fixed shifting problems with steam ids. The shifting was done the wrong way around which lead to problems when accessing the steam id and possibly other long values.
skadistats_clarity
train
java
bfc802b8ae8212831c314259725753b84fac2d2c
diff --git a/pdftotree/utils/pdf/pdf_parsers.py b/pdftotree/utils/pdf/pdf_parsers.py index <HASH>..<HASH> 100644 --- a/pdftotree/utils/pdf/pdf_parsers.py +++ b/pdftotree/utils/pdf/pdf_parsers.py @@ -995,10 +995,10 @@ def extract_text_candidates(boxes, page_bbox, avg_font_pts, width, char_width, ...
Fixes missing parenthesis We had an order of operations error. Closes #<I>.
HazyResearch_pdftotree
train
py
a4963d075655e57b65674ed754760a6ce0744bf8
diff --git a/src/AbstractDriver.php b/src/AbstractDriver.php index <HASH>..<HASH> 100644 --- a/src/AbstractDriver.php +++ b/src/AbstractDriver.php @@ -6,6 +6,7 @@ use Cake\Core\InstanceConfigTrait; use Cake\Utility\Inflector; use Muffin\Webservice\Exception\MissingWebserviceClassException; use Muffin\Webservice\Exce...
Use the shortName method to get the plugin name
UseMuffin_Webservice
train
php
5231fcadb730b4d4afe6d7cbd8920f518426810e
diff --git a/test/typescript/definitions-spec.js b/test/typescript/definitions-spec.js index <HASH>..<HASH> 100644 --- a/test/typescript/definitions-spec.js +++ b/test/typescript/definitions-spec.js @@ -1,5 +1,7 @@ import * as ts from 'typescript' import * as tt from 'typescript-definition-tester' +import path from '...
Seperated typescript tests into seperate tests and increased timeout
ioof-holdings_redux-subspace
train
js
5e2df1fc8e85355ac92e17844a7f00a44ab478c3
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/cases/calculations_test.rb +++ b/activerecord/test/cases/calculations_test.rb @@ -1004,6 +1004,14 @@ class CalculationsTest < ActiveRecord::TestCase end en...
Add tests for loaded pluck and pick with alias
rails_rails
train
rb
15b751d6e228aec8cbccad454bca6359df49bf07
diff --git a/salt/states/dockerio.py b/salt/states/dockerio.py index <HASH>..<HASH> 100644 --- a/salt/states/dockerio.py +++ b/salt/states/dockerio.py @@ -82,7 +82,7 @@ Available Functions .. note:: - The ``port_bindings`` argument above is a dictionary. The double + The ``ports`` argument above is a d...
doc: Docker state use ports and not port_bindings anymore
saltstack_salt
train
py
0f63b1312ecff987d41757990e0c4ec942fd862a
diff --git a/lib/apipony/endpoint.rb b/lib/apipony/endpoint.rb index <HASH>..<HASH> 100644 --- a/lib/apipony/endpoint.rb +++ b/lib/apipony/endpoint.rb @@ -18,22 +18,30 @@ module Apipony @method = method.to_sym @path = path @url = build_url(@path) + @request = NilRequest.new + @response = ...
Add default nil classes for request and response to endpoint
droptheplot_apipony
train
rb
902e78b20fe3189c4d424a65e4338710c9acd9dd
diff --git a/examples/jsf/numberguess/src/main/java/org/jboss/weld/examples/numberguess/Game.java b/examples/jsf/numberguess/src/main/java/org/jboss/weld/examples/numberguess/Game.java index <HASH>..<HASH> 100644 --- a/examples/jsf/numberguess/src/main/java/org/jboss/weld/examples/numberguess/Game.java +++ b/examples/j...
Fix numberguess example - adjust interval also when guessing 0
weld_core
train
java
90a7d16c26469e8496765aafc833bef152ff6a95
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -111,12 +111,9 @@ Drop by our `Gitter chat room <https://gitter.im/PraatParselmouth/Lobby>`__ if you have any question, remarks, or requests! -*More information on the -`**installation** <https://github.com/YannickJadoul/P...
Fixing reStructuredText's unsupported features in setup.py's 'long_description'
YannickJadoul_Parselmouth
train
py
c9cf557e854cb4f772743943c2f849ccc60db28a
diff --git a/examples/interfacechangeEvents/IfchangeServer.py b/examples/interfacechangeEvents/IfchangeServer.py index <HASH>..<HASH> 100644 --- a/examples/interfacechangeEvents/IfchangeServer.py +++ b/examples/interfacechangeEvents/IfchangeServer.py @@ -1,9 +1,8 @@ import logging import tango -from tango.server im...
Fix interfacechangeEvents example Server code had a few issues.
tango-controls_pytango
train
py
ad32de0eee981a83924e516bd6feda4a99ec6b6c
diff --git a/signature/signature.go b/signature/signature.go index <HASH>..<HASH> 100644 --- a/signature/signature.go +++ b/signature/signature.go @@ -159,7 +159,7 @@ func (s privateSignature) sign(mech SigningMechanism, keyIdentity string) ([]byt // signatureAcceptanceRules specifies how to decide whether an untruste...
Fix a comment The comment became imprecise when one of the functions started accepting a digest.Digest instead of a string. (This is unrelated to the rest of the PR.)
containers_image
train
go
545de1fd2a143335a2706c9640ca70e84f580811
diff --git a/test/functional/replicaset_mock_tests.js b/test/functional/replicaset_mock_tests.js index <HASH>..<HASH> 100644 --- a/test/functional/replicaset_mock_tests.js +++ b/test/functional/replicaset_mock_tests.js @@ -119,7 +119,8 @@ exports['Should correctly print warning and error when no mongos proxies in seed ...
Added ignore:travis to another test
mongodb_node-mongodb-native
train
js
83391b41d23c3e4fb0941a7e15bd4c45e035cd41
diff --git a/pkg/k8s/watchers/namespace.go b/pkg/k8s/watchers/namespace.go index <HASH>..<HASH> 100644 --- a/pkg/k8s/watchers/namespace.go +++ b/pkg/k8s/watchers/namespace.go @@ -92,6 +92,12 @@ func (k *K8sWatcher) updateK8sV1Namespace(oldNS, newNS *slim_corev1.Namespace) e oldIdtyLabels, _ := labelsfilter.Filter(old...
pkg/k8s: ignore namespace events that do not change labels As we can receive different type of namespace events, like difference in the annotations. We can ignore all of these events unless the labels are different.
cilium_cilium
train
go
1197e82d7bee7d96f84dc5a1df88ee6d22f60d3d
diff --git a/deezer/client.py b/deezer/client.py index <HASH>..<HASH> 100644 --- a/deezer/client.py +++ b/deezer/client.py @@ -4,11 +4,10 @@ Implements a client class to query the """ import json -try: +try: # pragma: no cover - python 2 from urllib import urlencode from urllib2 import urlopen -except Imp...
pragma to ignore python 2 or 3 specific lines
browniebroke_deezer-python
train
py
bb7c2c4a6e030d6a9998173de71725b1522ba50b
diff --git a/lib/packetgen/header/dns/question.rb b/lib/packetgen/header/dns/question.rb index <HASH>..<HASH> 100644 --- a/lib/packetgen/header/dns/question.rb +++ b/lib/packetgen/header/dns/question.rb @@ -100,13 +100,6 @@ module PacketGen self.class::TYPES[type] == self.type end - # @depr...
Remove deprecated stuff from Header::DNS.
sdaubert_packetgen
train
rb
916d13c0da681bc856141621b7f225bd437e20ea
diff --git a/src/Decorator/FormCollectionDecorator.php b/src/Decorator/FormCollectionDecorator.php index <HASH>..<HASH> 100644 --- a/src/Decorator/FormCollectionDecorator.php +++ b/src/Decorator/FormCollectionDecorator.php @@ -146,7 +146,7 @@ class FormCollectionDecorator implements FormHandlerInterface, FormCollection...
Change collection check to keep checks separate when resolving entity collections
SolidWorx_FormHandlerBundle
train
php
93b865efd19705d850b6e59900bb541449816f37
diff --git a/framework/core/js/forum/src/components/post-stream.js b/framework/core/js/forum/src/components/post-stream.js index <HASH>..<HASH> 100644 --- a/framework/core/js/forum/src/components/post-stream.js +++ b/framework/core/js/forum/src/components/post-stream.js @@ -248,7 +248,7 @@ class PostStream extends mixi...
Speed up committing of scroll position in URL/marking as read
flarum_core
train
js
73ba558a3897dfd4bf6e1351489dbccd926ddc81
diff --git a/spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb b/spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb index <HASH>..<HASH> 100644 --- a/spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb +++ b/spec/active_record/connection_adap...
Skip since this test always fails with Oracle <I>c
rsim_oracle-enhanced
train
rb
21bf629fde3dee2c3bce0cb98f989dc5ea7e4713
diff --git a/tests/ClientTest.php b/tests/ClientTest.php index <HASH>..<HASH> 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -2,8 +2,8 @@ namespace Denpa\Bitcoin\Tests; -use Denpa\Bitcoin\Config; use Denpa\Bitcoin\Client as BitcoinClient; +use Denpa\Bitcoin\Config; use Denpa\Bitcoin\Exceptions; ...
Apply fixes from StyleCI (#<I>)
denpamusic_php-bitcoinrpc
train
php
d0dfac866735dd77db58f46f2a16e47332753142
diff --git a/ngrest/base/Model.php b/ngrest/base/Model.php index <HASH>..<HASH> 100644 --- a/ngrest/base/Model.php +++ b/ngrest/base/Model.php @@ -48,9 +48,10 @@ abstract class Model extends \yii\db\ActiveRecord { parent::init(); - $this->_ngrestCall = Yii::$app->request->get('ngrestCall', false)...
fixed cli/web bug for AR base model.
luyadev_luya-module-admin
train
php
6354df0a8a0790566cd289d8fd26d8145b6ad4e0
diff --git a/defender/tasks.py b/defender/tasks.py index <HASH>..<HASH> 100644 --- a/defender/tasks.py +++ b/defender/tasks.py @@ -1,12 +1,7 @@ from .data import store_login_attempt +from . import config -# not sure how to get this to look better. ideally we want to dynamically -# apply the celery decorator based on...
dynamic load celery (#<I>)
kencochrane_django-defender
train
py
385ac1bc2f9f20a1951ffdc7143e3c9939afbc36
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -2493,14 +2493,18 @@ class Model(object): for query, fk_field, depth in select_queries: model = query.model if not self._meta.database.adapter.subquery_delete_same_table: - ...
Small fix for recursive delete bits
coleifer_peewee
train
py
47240481b9c0e7341bd51a3021f092124837c8e1
diff --git a/src/SearchParameters/index.js b/src/SearchParameters/index.js index <HASH>..<HASH> 100644 --- a/src/SearchParameters/index.js +++ b/src/SearchParameters/index.js @@ -1036,7 +1036,7 @@ SearchParameters.prototype = { return this.numericRefinements[attribute] && !isUndefined(this.numericRefineme...
fix: IE8 has no Array.indexOf Yes. I. Know. :D
algolia_algoliasearch-helper-js
train
js
21326f67a0205bdae067526fd5ffeee9a2db598e
diff --git a/src/client/ClientDataResolver.js b/src/client/ClientDataResolver.js index <HASH>..<HASH> 100644 --- a/src/client/ClientDataResolver.js +++ b/src/client/ClientDataResolver.js @@ -171,7 +171,7 @@ class ClientDataResolver { * @returns {string} */ resolveInviteCode(data) { - const inviteRegex = /...
feat(ClientDataResolver): account for discord.gg/invite/<code> invites
discordjs_discord.js
train
js
dd94f2a5012bdcc01f5f673194ec64d8562a1b9e
diff --git a/isvcs/docker_registry.go b/isvcs/docker_registry.go index <HASH>..<HASH> 100644 --- a/isvcs/docker_registry.go +++ b/isvcs/docker_registry.go @@ -50,7 +50,7 @@ func init() { Tag: IMAGE_TAG, Command: func() string { return command }, PortBindings: []portBinding{dockerPortBinding}, ...
repointed the docker registry to the correct volume path
control-center_serviced
train
go
1c714bf93d0933357efe41fca67347e3603a8ab2
diff --git a/fireplace/cards/__init__.py b/fireplace/cards/__init__.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/__init__.py +++ b/fireplace/cards/__init__.py @@ -59,8 +59,11 @@ def merge(xmlcard, carddef): # it exists. # This code is only ran once, at initial import. -with open(_PATH, "r") as f: - db = car...
Ensure the import initialization only happens once
jleclanche_fireplace
train
py
e0df8db9ccfedd8056804267f2eb7224f4944777
diff --git a/src/scout_apm/django/middleware.py b/src/scout_apm/django/middleware.py index <HASH>..<HASH> 100644 --- a/src/scout_apm/django/middleware.py +++ b/src/scout_apm/django/middleware.py @@ -75,7 +75,7 @@ class MiddlewareTimingMiddleware(object): try: return self.get_response(request) ...
Tidy Django middleware span balancing (#<I>) Small tidy up in new middleware to avoid refteching the `TrackedRequest` instance.
scoutapp_scout_apm_python
train
py
1a9221350c8b30ded58d444e1a6aa07c0686e060
diff --git a/controller/src/main/java/org/jboss/as/controller/operations/global/GlobalOperationHandlers.java b/controller/src/main/java/org/jboss/as/controller/operations/global/GlobalOperationHandlers.java index <HASH>..<HASH> 100644 --- a/controller/src/main/java/org/jboss/as/controller/operations/global/GlobalOperat...
AS7-<I> Deal with zh_Hans coming from the console
wildfly_wildfly
train
java
023a795db41a678354256f32dd31d4d174f8fab5
diff --git a/public/hft/0.x.x/scripts/hft-settings.js b/public/hft/0.x.x/scripts/hft-settings.js index <HASH>..<HASH> 100644 --- a/public/hft/0.x.x/scripts/hft-settings.js +++ b/public/hft/0.x.x/scripts/hft-settings.js @@ -29,9 +29,13 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ "us...
try to make hft-settings.js work on node
greggman_HappyFunTimes
train
js
d2bd6c590c517d786109de215258bf0ada41f7a9
diff --git a/src/main/org/codehaus/groovy/control/SourceUnit.java b/src/main/org/codehaus/groovy/control/SourceUnit.java index <HASH>..<HASH> 100644 --- a/src/main/org/codehaus/groovy/control/SourceUnit.java +++ b/src/main/org/codehaus/groovy/control/SourceUnit.java @@ -99,7 +99,7 @@ import org.codehaus.groovy.tools.Ut...
First cut of the basic Antlr plugin shell, ready for the hard work of actually converting the Antlr AST to groovy AST git-svn-id: <URL>
apache_groovy
train
java
fc4fac76ddc15405d541b06b052402135a729f64
diff --git a/tests/shell/test_core.py b/tests/shell/test_core.py index <HASH>..<HASH> 100644 --- a/tests/shell/test_core.py +++ b/tests/shell/test_core.py @@ -18,7 +18,6 @@ import pelix.shell.beans as beans # Standard library import os -import shlex import sys try: from StringIO import StringIO
Removed the unused shlex import
tcalmant_ipopo
train
py
e7a93fa32b98a6d8a20d2c28035233928523a46f
diff --git a/polyinterface/polyinterface.py b/polyinterface/polyinterface.py index <HASH>..<HASH> 100644 --- a/polyinterface/polyinterface.py +++ b/polyinterface/polyinterface.py @@ -75,6 +75,7 @@ def setup_log(): return logger LOGGER = setup_log() +sys.stdout = LoggerWriter(LOGGER.debug) sys.stderr = LoggerWri...
redirect stout and sterr
UniversalDevicesInc_polyglot-v2-python-interface
train
py
bad4b22f1404ac85bcc92b9c04da1777d5a885da
diff --git a/app/policies/renalware/base_policy.rb b/app/policies/renalware/base_policy.rb index <HASH>..<HASH> 100644 --- a/app/policies/renalware/base_policy.rb +++ b/app/policies/renalware/base_policy.rb @@ -16,7 +16,7 @@ module Renalware def index? return true if user_is_devops? || user_is_super_admin...
Remove has_ from predicate method names
airslie_renalware-core
train
rb
2d46f42e7be522c48799f0aab8972a43244ff391
diff --git a/test/integration/version_upgrade_test.go b/test/integration/version_upgrade_test.go index <HASH>..<HASH> 100644 --- a/test/integration/version_upgrade_test.go +++ b/test/integration/version_upgrade_test.go @@ -75,7 +75,7 @@ func TestVersionUpgrade(t *testing.T) { } defer os.Remove(tf.Name()) - releas...
Omit --wait for the released version, as it does not support this new flag
kubernetes_minikube
train
go
8947c54900ee42c03d1b851f906191031db91146
diff --git a/testing/stubs.go b/testing/stubs.go index <HASH>..<HASH> 100644 --- a/testing/stubs.go +++ b/testing/stubs.go @@ -99,11 +99,7 @@ func TestInterceptor(testID string, stubbedWorkflows, stubbedShortWorkflows []st d.StartChildWorkflowExecutionDecisionAttributes.TaskList = ShortStubTaskList } ...
dont modify the pointed to task list, make a different one
sclasen_swfsm
train
go
b75f3c99502be5625bcd06ab82fd51f16a4a7314
diff --git a/src/compatibility/json/stringify.js b/src/compatibility/json/stringify.js index <HASH>..<HASH> 100644 --- a/src/compatibility/json/stringify.js +++ b/src/compatibility/json/stringify.js @@ -94,7 +94,7 @@ function _gpfJsonStringifyCheckReplacer (replacer) { if (_gpfIsArray(replacer)) { // whit...
no-magic-numbers (#<I>)
ArnaudBuchholz_gpf-js
train
js
3529b31003319fcff21a19af712044ef0ba770de
diff --git a/bittrex/bittrex.py b/bittrex/bittrex.py index <HASH>..<HASH> 100644 --- a/bittrex/bittrex.py +++ b/bittrex/bittrex.py @@ -135,7 +135,7 @@ class Bittrex(object): """ Used to get the last 24 hour summary of all active exchanges in specific coin - :param market: String liter...
Rectified description for get_marketsummary
ericsomdahl_python-bittrex
train
py
8903779084b7319f9d4b6cfa2cb4efb172ebab09
diff --git a/gulp/download-locales.js b/gulp/download-locales.js index <HASH>..<HASH> 100644 --- a/gulp/download-locales.js +++ b/gulp/download-locales.js @@ -1,13 +1,23 @@ var downloadLocales = require('webmaker-download-locales'); +var glob = require('glob'); +var fs = require('fs-extra'); // Which languages shou...
[#<I>] Remove old locale files
mozilla_webmaker-android
train
js
761d70108039c75900b4d0d0b478ec6515ea946b
diff --git a/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java b/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java index <HASH>..<HASH> 100755 --- a/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java +++ b/h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java @@ -112,7...
Explicitly use ms since epoch for seed generation to not get FindBugs warning..
h2oai_h2o-3
train
java
64f78b0b291bcfa74e0d323b7558a2d66e154cdc
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -54,7 +54,7 @@ function physicsSimulator(settings) { springForce = createSpringForce(), dragForce = createDragForce(); - return { + var publicApi = { /** * Array of bodies, registered with current ...
Exposing settings as part of public api
anvaka_ngraph.physics.simulator
train
js
6751287fdffc4749033d703379504ad3cea409e0
diff --git a/sdk/src/main/java/com/wonderpush/sdk/NotificationManager.java b/sdk/src/main/java/com/wonderpush/sdk/NotificationManager.java index <HASH>..<HASH> 100644 --- a/sdk/src/main/java/com/wonderpush/sdk/NotificationManager.java +++ b/sdk/src/main/java/com/wonderpush/sdk/NotificationManager.java @@ -64,10 +64,10 ...
if both receipt and receiptUsingMeasurements are true, use the measurements api
wonderpush_wonderpush-android-sdk
train
java
16e78dc9a62150fd79932b78c150d50e1f8154ce
diff --git a/lib/classy_enum/base.rb b/lib/classy_enum/base.rb index <HASH>..<HASH> 100644 --- a/lib/classy_enum/base.rb +++ b/lib/classy_enum/base.rb @@ -3,10 +3,8 @@ module ClassyEnum extend ClassyEnum::ClassMethods include ClassyEnum::InstanceMethods include Comparable - include ActiveModel::Attrib...
Removing use of ActiveModel::AttributeMethods
beerlington_classy_enum
train
rb,rb
810ba666202d20c670ae7d7de508f5a4c6d19d84
diff --git a/authenticators/cf_authenticator.go b/authenticators/cf_authenticator.go index <HASH>..<HASH> 100644 --- a/authenticators/cf_authenticator.go +++ b/authenticators/cf_authenticator.go @@ -10,7 +10,7 @@ import ( "strings" "code.cloudfoundry.org/lager" - "github.com/dgrijalva/jwt-go" + "github.com/golang...
Switch to golang-jwt/jwt instead of dgrijalva/jwt dgrijalva/jwt is deprecated and golang-jwt/jwt is supported
cloudfoundry_diego-ssh
train
go
2a345d74899fa5c1977b15d0ce32f7f8336650b9
diff --git a/src/Presenters/Application/Search/SearchPanel.php b/src/Presenters/Application/Search/SearchPanel.php index <HASH>..<HASH> 100644 --- a/src/Presenters/Application/Search/SearchPanel.php +++ b/src/Presenters/Application/Search/SearchPanel.php @@ -207,7 +207,7 @@ class SearchPanel extends HtmlPresenter ...
Changes to search panel to allow multiple actors to filter a collection
RhubarbPHP_Module.Leaf
train
php
4f2da04e5d7005115ffc9590f6b7887f14d26156
diff --git a/test/katex-spec.js b/test/katex-spec.js index <HASH>..<HASH> 100644 --- a/test/katex-spec.js +++ b/test/katex-spec.js @@ -3364,6 +3364,7 @@ describe("Unicode", function() { expect`┌x┐ └x┘`.toBuild(); expect("\u231Cx\u231D \u231Ex\u231F").toBuild(); expect("\u27E6x\u27E7").toBuild...
Add test for double square brackets to katex-spec (#<I>)
KaTeX_KaTeX
train
js
047b187d0e2cf932feb4179e49714f18608e8018
diff --git a/railties/lib/rails/api/task.rb b/railties/lib/rails/api/task.rb index <HASH>..<HASH> 100644 --- a/railties/lib/rails/api/task.rb +++ b/railties/lib/rails/api/task.rb @@ -16,8 +16,7 @@ module Rails :include => %w( README.rdoc lib/active_record/**/*.rb - ), - ...
Fixed API task file 1. As we have vendor in AV only 2. No more vendor in AC 3. No vendor folder in AR
rails_rails
train
rb
60e1cec39c36d4eea7057accb444e888d0fbba05
diff --git a/raiden/channel.py b/raiden/channel.py index <HASH>..<HASH> 100644 --- a/raiden/channel.py +++ b/raiden/channel.py @@ -405,7 +405,7 @@ class Channel(object): # As a receiver: If the lock expiration is larger than the settling # time a secret could be revealed after the channel is s...
fix logical statement of expiration error
raiden-network_raiden
train
py
d90de1f65a4fbafeb09cc89a450762e51c9b5a7d
diff --git a/lifxlan/device.py b/lifxlan/device.py index <HASH>..<HASH> 100644 --- a/lifxlan/device.py +++ b/lifxlan/device.py @@ -44,9 +44,8 @@ def get_broadcast_addrs(): ip = ni.ifaddresses(iface)[ni.AF_INET][0]['addr'] if ip != '127.0.0.1': local_ips.append(ip) - exc...
cleaned up code by removing commented out code
mclarkk_lifxlan
train
py
6ff8e70fd09b02b14ddcc305a14f7c49fe04b862
diff --git a/lib/cinch/names.rb b/lib/cinch/names.rb index <HASH>..<HASH> 100644 --- a/lib/cinch/names.rb +++ b/lib/cinch/names.rb @@ -22,8 +22,12 @@ module Cinch end on(:part) do |m| - channel_names[m.channel] ||= [] - channel_names[m.channel].delete m.nick + if m.nick == nic...
Handling bot leaving channel. When the bot joins, it doesn't help much to just remove its own nick from the list. Kill it entirely. That channel isn't a concern anymore.
cinchrb_cinch
train
rb,rb
782322b808b6300d414c41887d5dc0a01efe41fe
diff --git a/src/Validation/Validation.php b/src/Validation/Validation.php index <HASH>..<HASH> 100644 --- a/src/Validation/Validation.php +++ b/src/Validation/Validation.php @@ -16,6 +16,7 @@ namespace Cake\Validation; use Cake\Utility\Text; use LogicException; +use NumberFormatter; use RuntimeException; /** @...
Use NumberFormatter at the top of file
cakephp_cakephp
train
php
a53ce2de125f07d7a1c71857ee320c4a449dd39b
diff --git a/packages/ember-handlebars/lib/ext.js b/packages/ember-handlebars/lib/ext.js index <HASH>..<HASH> 100644 --- a/packages/ember-handlebars/lib/ext.js +++ b/packages/ember-handlebars/lib/ext.js @@ -182,6 +182,8 @@ Ember.Handlebars.registerHelper('blockHelperMissing', function(path) { if (Ember.FEATURES.is...
[BUGFIX beta] Added assert mismatched template compiler version. See #<I>. Using an old version of Ember to precompile templates can result in an unusual error when trying to render a component in block form, e.g. ``` {{#my-component}}Hello{{/my-component}} ``` This commit adds an assert to give the user more info...
emberjs_ember.js
train
js
6a4c02b850396b9d9e6f3ec8828b613459b71223
diff --git a/activerecord/lib/active_record/relation/batches.rb b/activerecord/lib/active_record/relation/batches.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/relation/batches.rb +++ b/activerecord/lib/active_record/relation/batches.rb @@ -271,7 +271,7 @@ module ActiveRecord end d...
`quoted_table_name` doesn't respect table alias So using `arel_attribute(primary_key).asc` in `batch_order` instead.
rails_rails
train
rb,rb
d24ae4ccdf4d6a890ac4ad3fc54df56c130e98c8
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -3,4 +3,4 @@ __copyright__ = "Copyright (c) 2010-2016, Haibao Tang" __email__ = "tanghaibao@gmail.com" __license__ = "BSD" __status__ = "Development" -__version__ = "0.6.9" +__version__ = "0.6.10" diff --git a/s...
[readme] setup.py include md rather than rst
tanghaibao_jcvi
train
py,py
ec5a953db67d1c99534b5a20c021d2fa9f8345df
diff --git a/src/components/breakpoints.js b/src/components/breakpoints.js index <HASH>..<HASH> 100644 --- a/src/components/breakpoints.js +++ b/src/components/breakpoints.js @@ -1,7 +1,7 @@ import { warn } from '../utils/log' import { throttle } from '../utils/wait' import { isObject } from '../utils/unit' -import ...
Remove unused import in breakpoints component
glidejs_glide
train
js
662e7ac5c2af3bcfd3c5211829b2d9bf183cd9a9
diff --git a/graphistry/pygraphistry.py b/graphistry/pygraphistry.py index <HASH>..<HASH> 100644 --- a/graphistry/pygraphistry.py +++ b/graphistry/pygraphistry.py @@ -425,7 +425,7 @@ class PyGraphistry(object): :returns: {'entities': DF, 'events': DF, 'edges': DF, 'nodes': DF, 'graph': Plotter} :rtype...
fix(docs): typos
graphistry_pygraphistry
train
py
74d56c6dea7799c4465a14840f2bfe51bf13024f
diff --git a/openshift/dynamic/discovery.py b/openshift/dynamic/discovery.py index <HASH>..<HASH> 100644 --- a/openshift/dynamic/discovery.py +++ b/openshift/dynamic/discovery.py @@ -9,7 +9,7 @@ from abc import abstractmethod, abstractproperty from urllib3.exceptions import ProtocolError, MaxRetryError from openshi...
Ignore ServiceUnavailableError for an all resource group search (#<I>) There are situations where a given api service unrelated to the requested resource is unavailable and an ServiceUnavailableError exception is thrown. The change in this PR will allow resources to be found if the resource being requested is un...
openshift_openshift-restclient-python
train
py
b05c76df9fc5b35c88a4b288c1fa2c58b1d8273e
diff --git a/mythril/laser/ethereum/svm.py b/mythril/laser/ethereum/svm.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/svm.py +++ b/mythril/laser/ethereum/svm.py @@ -9,7 +9,7 @@ from mythril.analysis.potential_issues import check_potential_issues from mythril.laser.ethereum.cfg import NodeFlags, Node, Edg...
Add ether transfer to TransactionStartSignal exception handler
ConsenSys_mythril-classic
train
py
0a6c0cd8fb36792efdeeb0f1226389fa69f23ba4
diff --git a/mitogen/compat/pkgutil.py b/mitogen/compat/pkgutil.py index <HASH>..<HASH> 100644 --- a/mitogen/compat/pkgutil.py +++ b/mitogen/compat/pkgutil.py @@ -542,7 +542,7 @@ def extend_path(path, name): if os.path.isfile(pkgfile): try: f = open(pkgfile) - except IO...
pkgutil: fix Python3 compatibility Starting with Python3 the `as` clause must be used to associate a name to the exception being passed.
dw_mitogen
train
py
a6ea8015f368b8f26abca13cd64bf5646a02fc67
diff --git a/spec/bblib_spec.rb b/spec/bblib_spec.rb index <HASH>..<HASH> 100644 --- a/spec/bblib_spec.rb +++ b/spec/bblib_spec.rb @@ -66,7 +66,7 @@ describe BBLib do b = {b:[8], c:{d:{e:9, f:'test', g:0}}} expect(a.deep_merge b).to eq ({:a=>1, :b=>[2, 3, 8], :c=>{:d=>{:e=>9, :f=>"test", :g=>0}}}) expect...
Modified the named param to deep merge to the new, correct name.
bblack16_bblib-ruby
train
rb
3968c583e773c471b9e9b65a84dbbd9d907b23bd
diff --git a/spec/i2c_spec.rb b/spec/i2c_spec.rb index <HASH>..<HASH> 100644 --- a/spec/i2c_spec.rb +++ b/spec/i2c_spec.rb @@ -34,5 +34,19 @@ describe 'pi_piper' do end end + describe "write operation" do + + it "should set address" do + Platform.driver = StubDriver.new.tap do |d| + ...
write op should set addr
jwhitehorn_pi_piper
train
rb
d271d44b1bbadf673c02512e6d2792e7a2370f52
diff --git a/classes/Boom/Model/Page.php b/classes/Boom/Model/Page.php index <HASH>..<HASH> 100644 --- a/classes/Boom/Model/Page.php +++ b/classes/Boom/Model/Page.php @@ -173,6 +173,13 @@ class Boom_Model_Page extends Model_Taggable ->execute($this->db); } + public function delete_from_linksets() + { + DB::del...
Delete page from linksets when it's deleted
boomcms_boom-core
train
php
7a6a9c5fca2e24af546006c6a13526d19b3bf87b
diff --git a/code/libraries/koowa/loader/loader.php b/code/libraries/koowa/loader/loader.php index <HASH>..<HASH> 100755 --- a/code/libraries/koowa/loader/loader.php +++ b/code/libraries/koowa/loader/loader.php @@ -26,7 +26,10 @@ require_once Koowa::getPath().'/identifier/exception.php'; require_once Koowa::getPath()....
Loader now instantiates itself.
joomlatools_joomlatools-framework
train
php
18222800ccebadd2633c3a2410f3eac8b74ea966
diff --git a/lib/cfoundry/v2/app.rb b/lib/cfoundry/v2/app.rb index <HASH>..<HASH> 100644 --- a/lib/cfoundry/v2/app.rb +++ b/lib/cfoundry/v2/app.rb @@ -199,7 +199,7 @@ module CFoundry::V2 else state end - rescue CFoundry::StagingError + rescue CFoundry::StagingError, CFoundry::NotStaged ...
Catch NotStaged exception causing app listing to fail in console/cf
cloudfoundry-attic_cfoundry
train
rb
227640ab0970ab1512de6668364b369a802622b6
diff --git a/src/Component/UrlSetInterface.php b/src/Component/UrlSetInterface.php index <HASH>..<HASH> 100644 --- a/src/Component/UrlSetInterface.php +++ b/src/Component/UrlSetInterface.php @@ -20,6 +20,11 @@ interface UrlSetInterface const XML_NAMESPACE_URI = 'http://www.sitemaps.org/schemas/sitemap/0.9'; ...
Enhancement: Add constant for maximum number of URLs
refinery29_sitemap
train
php,php
242625ec57df245ec88626fcc96b91304ad2b42c
diff --git a/NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/TabBarView.java b/NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/TabBarView.java index <HASH>..<HASH> 100644 --- a/NavigationReactNative/src/android/src/main/java/com/navigation/reactnative/TabBarView.jav...
Removed compiler warning that adapter may be null
grahammendick_navigation
train
java
7a193988226db01849e00bb15189123ba74ce042
diff --git a/internal/oci/runtime_vm.go b/internal/oci/runtime_vm.go index <HASH>..<HASH> 100644 --- a/internal/oci/runtime_vm.go +++ b/internal/oci/runtime_vm.go @@ -534,6 +534,7 @@ func (r *runtimeVM) StopContainer(ctx context.Context, c *Container, timeout int err := r.waitCtrTerminate(sig, stopCh, timeoutDurat...
runtime_vm: set finished time when containers stop
cri-o_cri-o
train
go
9c6076d4cbc43e61f7196d17224be63352ea96b1
diff --git a/lib/site_prism/page.rb b/lib/site_prism/page.rb index <HASH>..<HASH> 100644 --- a/lib/site_prism/page.rb +++ b/lib/site_prism/page.rb @@ -10,11 +10,11 @@ module SitePrism include Loadable include ElementContainer - load_validation do - [ - displayed?, - "Expected #{current...
Remove procedural block in page.rb
natritmeyer_site_prism
train
rb
35e1928934d4948b1d4ff2b5a07539fbc120ea53
diff --git a/lib/waterline.js b/lib/waterline.js index <HASH>..<HASH> 100644 --- a/lib/waterline.js +++ b/lib/waterline.js @@ -160,6 +160,7 @@ Waterline.prototype.initialize = function(options, cb) { schemas[collection.identity] = collection; schemas[collection.identity].definition = schema; + ...
send a limited set of data to registerConnection on an adapter - Adapters don't need to handle all of the internals of waterline, all they care about is the definition, user attributes and any meta flags that have been sent in
balderdashy_waterline
train
js
cbc2184b2de459020e6b84a0b01b9121d9c273d4
diff --git a/serf/serf_test.go b/serf/serf_test.go index <HASH>..<HASH> 100644 --- a/serf/serf_test.go +++ b/serf/serf_test.go @@ -327,7 +327,7 @@ func TestSerf_eventsUser_sizeLimit(t *testing.T) { if err == nil { t.Fatalf("expect error") } - if !strings.HasPrefix(err.Error(), "user event exceeds limit of ") { +...
Fix the TestSerf_eventsUser_sizeLimit test The string it was expecting in the error was no longer accurate.
hashicorp_serf
train
go
740bd6ca0f0de71bbf8a76c734fc38ba777a5fac
diff --git a/app/services/socializer/activity_creator.rb b/app/services/socializer/activity_creator.rb index <HASH>..<HASH> 100644 --- a/app/services/socializer/activity_creator.rb +++ b/app/services/socializer/activity_creator.rb @@ -21,8 +21,11 @@ module Socializer # # @return [OpenStruct] def perform ...
use the active record record_invalid translation
socializer_socializer
train
rb
3a4a30e879e9ff74b4eee7fbf622a5ddb6579d0b
diff --git a/flight/Engine.php b/flight/Engine.php index <HASH>..<HASH> 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -101,10 +101,10 @@ class Engine { } // Default configuration settings - $this->set('flight.views.path', './views'); - $this->set('flight.log_errors', false)...
Updated check for base_url.
mikecao_flight
train
php
c639615615c88e5d06e31c7d80781284adfd75c6
diff --git a/plugin/kubernetes/setup.go b/plugin/kubernetes/setup.go index <HASH>..<HASH> 100644 --- a/plugin/kubernetes/setup.go +++ b/plugin/kubernetes/setup.go @@ -202,8 +202,6 @@ func ParseStanza(c *caddy.Controller) (*Kubernetes, error) { continue } return nil, c.ArgErr() - case "resyncperiod": - c...
remove ignored option at kubernetes plugin (#<I>)
coredns_coredns
train
go
bf91adda73a6330d8ef2ef659421e95a230ed7ce
diff --git a/salt/modules/solaris_user.py b/salt/modules/solaris_user.py index <HASH>..<HASH> 100644 --- a/salt/modules/solaris_user.py +++ b/salt/modules/solaris_user.py @@ -57,14 +57,15 @@ def add(name, uid=None, gid=None, groups=None, - home=True, + home=None, shell=...
Mimic what was done in d<I>d<I> but for Solaris.
saltstack_salt
train
py
26388503e0edbb92aef9f4301df5cd02e7885453
diff --git a/agent/agent_endpoint.go b/agent/agent_endpoint.go index <HASH>..<HASH> 100644 --- a/agent/agent_endpoint.go +++ b/agent/agent_endpoint.go @@ -97,7 +97,7 @@ func (s *HTTPServer) AgentMetrics(resp http.ResponseWriter, req *http.Request) ( return nil, acl.ErrPermissionDenied } if enablePrometheusOutput...
Removed Nanoseconds cast as requested by @banks
hashicorp_consul
train
go
09375b8a60c8a34889de593aad52a74e4b7e2558
diff --git a/client/lib/cart-values/index.js b/client/lib/cart-values/index.js index <HASH>..<HASH> 100644 --- a/client/lib/cart-values/index.js +++ b/client/lib/cart-values/index.js @@ -14,7 +14,6 @@ import config from 'config'; */ import cartItems from './cart-items'; import productsValues from 'lib/products-valu...
remove override on payment methods name in India (#<I>)
Automattic_wp-calypso
train
js
91efc0b4d641f93aa923f1cf01063e37ec3db7c1
diff --git a/lib/spotify.js b/lib/spotify.js index <HASH>..<HASH> 100644 --- a/lib/spotify.js +++ b/lib/spotify.js @@ -945,9 +945,9 @@ Spotify.prototype.isTrackAvailable = function (track, country) { // guessing at names here, corrections welcome... var accountTypeMap = { - premium: 'SUBSCRIPTION...
spotify: use number instead of strings for Catalogue The `isTrackAvailable()` function wasn't working properly anymore due to a server-side change in the response format.
TooTallNate_node-spotify-web
train
js
b769cce9042ea51c498af89fe69be5480f509b33
diff --git a/container_linux_test.go b/container_linux_test.go index <HASH>..<HASH> 100644 --- a/container_linux_test.go +++ b/container_linux_test.go @@ -493,7 +493,7 @@ func testContainerUser(t *testing.T, userstr, expectedOutput string) { var ( image Image ctx, cancel = testContext() - id = t...
Fix tests using invalid ID These tests are using their name as ID, but subtests add a forward slash connected to the parent test, and slash (/) is an invalid character for container IDs.
containerd_containerd
train
go
769216392f4dec49c107e67889f57d40567b2235
diff --git a/i3pystatus/pulseaudio/__init__.py b/i3pystatus/pulseaudio/__init__.py index <HASH>..<HASH> 100644 --- a/i3pystatus/pulseaudio/__init__.py +++ b/i3pystatus/pulseaudio/__init__.py @@ -2,7 +2,6 @@ from .pulse import * from i3pystatus import Module - class PulseAudio(Module): """ @@ -40,7 +39,7 @@...
pulseaudio: change context name to something meaningful
enkore_i3pystatus
train
py
bb4be3333162926c8652e868ba8c1dfa371e4e05
diff --git a/pkg/chartutil/files.go b/pkg/chartutil/files.go index <HASH>..<HASH> 100644 --- a/pkg/chartutil/files.go +++ b/pkg/chartutil/files.go @@ -22,7 +22,7 @@ import ( "path" "strings" - yaml "gopkg.in/yaml.v2" + "github.com/ghodss/yaml" "github.com/BurntSushi/toml" "github.com/gobwas/glob"
fixed fromYaml | toJson
helm_helm
train
go
3f2f4b427f30cf0d40c95630875080bcc5f9f8f5
diff --git a/drf_compound_fields/fields.py b/drf_compound_fields/fields.py index <HASH>..<HASH> 100755 --- a/drf_compound_fields/fields.py +++ b/drf_compound_fields/fields.py @@ -37,6 +37,7 @@ class ListField(WritableField): return obj def from_native(self, data): + self.validate_is_list(data) ...
In ListField, factor out validation of list value, and use it at beginning of from_native
estebistec_drf-compound-fields
train
py
3cb6fd676618dd85b82c8d91e778a310d1e0dc6f
diff --git a/lib/Widget/View.php b/lib/Widget/View.php index <HASH>..<HASH> 100644 --- a/lib/Widget/View.php +++ b/lib/Widget/View.php @@ -60,7 +60,10 @@ class View extends Base parent::__construct($options); // Adds widget to template variable - $this->assign('widget', $this->widget); + ...
assign $wei to view variable to
twinh_wei
train
php
9ebb5d64988d04ddb801c5b51dcefd6c9090feb3
diff --git a/invenio_search_ui/assets/semantic-ui/js/invenio_search_ui/components/SearchApp.js b/invenio_search_ui/assets/semantic-ui/js/invenio_search_ui/components/SearchApp.js index <HASH>..<HASH> 100644 --- a/invenio_search_ui/assets/semantic-ui/js/invenio_search_ui/components/SearchApp.js +++ b/invenio_search_ui/a...
search: removes side padding in search results and facets
inveniosoftware_invenio-search-ui
train
js