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
cd5f6d0c360b0229c8482e3106eb101e9f62414d
diff --git a/src/collectors/HadoopCollector/HadoopCollector.py b/src/collectors/HadoopCollector/HadoopCollector.py index <HASH>..<HASH> 100644 --- a/src/collectors/HadoopCollector/HadoopCollector.py +++ b/src/collectors/HadoopCollector/HadoopCollector.py @@ -33,6 +33,7 @@ class HadoopCollector(diamond.collector.Collect...
Pull in e<I>b8f5faabf8c<I>c3b8aeabc<I>a<I>f1c<I> for HadoopCollector
python-diamond_Diamond
train
py
6932806d6ea9e05b05988a4e51a03df2c268b731
diff --git a/src/Kernel/CubexKernel.php b/src/Kernel/CubexKernel.php index <HASH>..<HASH> 100644 --- a/src/Kernel/CubexKernel.php +++ b/src/Kernel/CubexKernel.php @@ -31,6 +31,17 @@ abstract class CubexKernel */ protected $_processParams; + protected $_initialised = false; + + protected function _init() + {...
init method only called once (via protected _init)
cubex_framework
train
php,php
65c901e45820d9c7555afc14337b82cf53ea3e42
diff --git a/clientconn_test.go b/clientconn_test.go index <HASH>..<HASH> 100644 --- a/clientconn_test.go +++ b/clientconn_test.go @@ -612,7 +612,7 @@ func TestClientUpdatesParamsAfterGoAway(t *testing.T) { defer s.Stop() cc, err := Dial(addr, WithBlock(), WithInsecure(), WithKeepaliveParams(keepalive.ClientParamet...
Fix flakey test. (#<I>)
grpc_grpc-go
train
go
9abcc0791d715e8eab293c343816a1a417bb3be7
diff --git a/src/selector_manager/view/ClassTagsView.js b/src/selector_manager/view/ClassTagsView.js index <HASH>..<HASH> 100644 --- a/src/selector_manager/view/ClassTagsView.js +++ b/src/selector_manager/view/ClassTagsView.js @@ -154,8 +154,12 @@ export default Backbone.View.extend({ * @private */ onInputKe...
Prevent form submit in ClassTagsView. Closes #<I>
artf_grapesjs
train
js
caaf201998920c765caaa1b0cf9e8ba1af9c51f2
diff --git a/common/src/com/thoughtworks/go/domain/materials/git/GitCommand.java b/common/src/com/thoughtworks/go/domain/materials/git/GitCommand.java index <HASH>..<HASH> 100644 --- a/common/src/com/thoughtworks/go/domain/materials/git/GitCommand.java +++ b/common/src/com/thoughtworks/go/domain/materials/git/GitComman...
Output working directory in console output and when polling fails. When the git commands that update a material fail, this makes it easy to find the flyweight directory on the server for debugging.
gocd_gocd
train
java
d2e23a8bf4af04ff385228d08d9c6b467f56a02d
diff --git a/gridmap/job.py b/gridmap/job.py index <HASH>..<HASH> 100644 --- a/gridmap/job.py +++ b/gridmap/job.py @@ -64,7 +64,7 @@ from gridmap.runner import _heart_beat if DRMAA_PRESENT: from drmaa import (InvalidJobException, JobControlAction, - JOB_IDS_SESSION_ALL, Session) + ...
Fix memory leak caused by job info not being wiped out.
pygridtools_gridmap
train
py
0e68174a9aa88bfaadd64cc03846babe129d8641
diff --git a/tests/test_10_time_util.py b/tests/test_10_time_util.py index <HASH>..<HASH> 100644 --- a/tests/test_10_time_util.py +++ b/tests/test_10_time_util.py @@ -9,7 +9,6 @@ from saml2.time_util import before, after, not_before, not_on_or_after def test_f_quotient(): - assert f_quotient(-1, 3) == -1 a...
Remove tests asserting unnecessary py2 rounding f_quotient in time_utils does not actually ever get passed values in the ranges that are being tested here. It is, however, asserting bad python2 rounding behavior in the int() constructor that has been removed. We can just remove these tests, and be comfortable reasonin...
IdentityPython_pysaml2
train
py
99617966de37c1ae413ed14ca46d9a99f7724f53
diff --git a/cluster/manager/manager.go b/cluster/manager/manager.go index <HASH>..<HASH> 100644 --- a/cluster/manager/manager.go +++ b/cluster/manager/manager.go @@ -611,7 +611,6 @@ func (c *ClusterManager) initNodeInCluster( // Alert all listeners that we are joining the cluster func (c *ClusterManager) joinCluster...
no cleanup in joinCluster (#<I>) cleanup init is called only at node init. join is called when node is already part of cluster.
libopenstorage_openstorage
train
go
1813aa91962f814e3111da221e25d365d69a91e0
diff --git a/tests/api/test_people.py b/tests/api/test_people.py index <HASH>..<HASH> 100644 --- a/tests/api/test_people.py +++ b/tests/api/test_people.py @@ -116,8 +116,16 @@ class PeopleManager(object): return iter(self.list) def __del__(self): - for person in self.test_people.values(): - ...
Disable test account clean-up Licensed privileges aren't taking effect for accounts that have just been created and this is causing some tests to fail. I am temporarily disabling test account clean-up to enable the accounts (with their privileges) to persist. It would be good to find a way around this.
CiscoDevNet_webexteamssdk
train
py
7e5a586f858e79e67aa57624fb2f3869f09d9677
diff --git a/dvc/repo/ls.py b/dvc/repo/ls.py index <HASH>..<HASH> 100644 --- a/dvc/repo/ls.py +++ b/dvc/repo/ls.py @@ -85,11 +85,10 @@ def _ls( ret = {} for name, info in infos.items(): dvc_info = info.get("dvc_info", {}) - if fs.isdvc(info["name"], recursive=True) or not dvc_only: - ...
fs: Remove redundant .isdvc() check fs.walk(..., dvc_only=True) already outputs dvc objects only, so fs.isdvc(path, recursive=True) is always True.
iterative_dvc
train
py
f061f6ee7aac174ea84341ce50dc023e910aa392
diff --git a/example/aws/credentials/plugincreds/main.go b/example/aws/credentials/plugincreds/main.go index <HASH>..<HASH> 100644 --- a/example/aws/credentials/plugincreds/main.go +++ b/example/aws/credentials/plugincreds/main.go @@ -24,13 +24,13 @@ import ( // environment variable is not defined. // // Build: -// ...
example/aws/credentials/plugincreds: Update usage docs (#<I>)
aws_aws-sdk-go
train
go
315f028e687383891019c90be818300c67353673
diff --git a/src/Command/Helper/FormTrait.php b/src/Command/Helper/FormTrait.php index <HASH>..<HASH> 100644 --- a/src/Command/Helper/FormTrait.php +++ b/src/Command/Helper/FormTrait.php @@ -55,7 +55,6 @@ trait FormTrait ); // Type input - // TODO: validate $input_type = $dialog->ask...
Remove TODO, added new issue on trello
hechoendrupal_drupal-console
train
php,php
3d9135ec33c47989c27a718716f6fec24635c14c
diff --git a/ontobio/obograph_util.py b/ontobio/obograph_util.py index <HASH>..<HASH> 100644 --- a/ontobio/obograph_util.py +++ b/ontobio/obograph_util.py @@ -112,7 +112,7 @@ def convert_json_object(obographdoc, **args): """ digraph = networkx.MultiDiGraph() - xref_graph = networkx.Graph() + xref_grap...
always use multigraph for xrefs
biolink_ontobio
train
py,py
939366c4297a5736179b873f674ce0cad7923c22
diff --git a/lib/pool.js b/lib/pool.js index <HASH>..<HASH> 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -207,7 +207,7 @@ Pool.prototype.getConnection = function(getHost){ if(!getHost){ getHost = function(clients){ var len = clients.length, - rnd = Math.floor(Math.random() * len), + rn...
comma comma comma comma comma chameleon
lyveminds_scamandrios
train
js
a9b1373474433e109bf31c3df80d9d153f546123
diff --git a/bakery_cli/ttfont.py b/bakery_cli/ttfont.py index <HASH>..<HASH> 100644 --- a/bakery_cli/ttfont.py +++ b/bakery_cli/ttfont.py @@ -85,18 +85,6 @@ class Font(BaseFont): return ymin, ymax @property - def license_url(self): - """ Return LicenseURL from "name" table - - >>> font...
delete unused property 'license_url' from bakery_cli/ttfont.py
googlefonts_fontbakery
train
py
4fc491d5d3be24af6ee9f3b11e3fc2e2a7a52a4d
diff --git a/common/producer/ProducerIterator.java b/common/producer/ProducerIterator.java index <HASH>..<HASH> 100644 --- a/common/producer/ProducerIterator.java +++ b/common/producer/ProducerIterator.java @@ -105,7 +105,9 @@ public class ProducerIterator<T> implements ResourceIterator<T> { @Override publi...
Protect ProducerIterator.recycle() body with synchronised block
graknlabs_grakn
train
java
b1c442ed92f6a1d2d782c504f04cf48e38054abb
diff --git a/bit.go b/bit.go index <HASH>..<HASH> 100644 --- a/bit.go +++ b/bit.go @@ -74,6 +74,9 @@ func buffer(r io.Reader, n uint) (uint64, uint, error) { var buf [8]uint8 if _, err := io.ReadFull(r, buf[:bytes]); err != nil { + if err == io.EOF { + err = io.ErrUnexpectedEOF + } return 0, 0, err }
Make all EOF errors unexpected.
eaburns_bit
train
go
e776a06cfb1eb933f7001ecdab21a69137d4665c
diff --git a/rpcserver.go b/rpcserver.go index <HASH>..<HASH> 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -2445,6 +2445,12 @@ func (r *rpcServer) AddInvoice(ctx context.Context, len(invoice.DescriptionHash), channeldb.MaxPaymentRequestSize) } + // The value of the invoice must not be negative. + if invoice....
rpc: disallow a negative invoice amount in AddInvoice
lightningnetwork_lnd
train
go
00dbc71bb8856a47e454e938bb2466ec146575c1
diff --git a/wallet/wallet.go b/wallet/wallet.go index <HASH>..<HASH> 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -229,13 +229,6 @@ func ChainedPrivKey(privkey, pubkey, chaincode []byte) ([]byte, error) { return nil, fmt.Errorf("invalid pubkey length %d", len(pubkey)) } - // This is a perfect example...
Remove comment. Fixes #<I>.
btcsuite_btcwallet
train
go
1ac394551e785b7c6662aa9b5136d65fddbf4eb2
diff --git a/python/_version/__init__.py b/python/_version/__init__.py index <HASH>..<HASH> 100644 --- a/python/_version/__init__.py +++ b/python/_version/__init__.py @@ -14,7 +14,7 @@ __all__ = [ VERSION_MAJOR = 0 VERSION_MINOR = 10 -VERSION_PATCH = 0 +VERSION_PATCH = 99 VERSION_STRING = '%s.%s.%s' % (VERSION_M...
Version <I> for development work.
cmcqueen_simplerandom
train
py
8582325e851aa5be89c16fd8666588a6049b0470
diff --git a/script/upload-index-json.py b/script/upload-index-json.py index <HASH>..<HASH> 100755 --- a/script/upload-index-json.py +++ b/script/upload-index-json.py @@ -1,5 +1,6 @@ #!/usr/bin/env python +import json import os import sys import urllib2 @@ -15,6 +16,13 @@ BASE_URL = 'https://electron-metadumper.h...
build: ensure index.json is actually valid JSON before uploading (#<I>) * build: ensure index.json is actually valid JSON before uploading * chore: fix py linting for validation of index.json
electron_electron
train
py
9e8989d3cd3ba6d6cd24ca2ea942898771974414
diff --git a/src/js/tubular/directives/grid/tbGridCtrl.spec.js b/src/js/tubular/directives/grid/tbGridCtrl.spec.js index <HASH>..<HASH> 100644 --- a/src/js/tubular/directives/grid/tbGridCtrl.spec.js +++ b/src/js/tubular/directives/grid/tbGridCtrl.spec.js @@ -461,7 +461,7 @@ describe('Module: tubular.directives', () => ...
Update tbGridCtrl.spec.js
unosquare_tubular
train
js
e58c603807a30a264807d87fe6ae4914b7aeb852
diff --git a/src/tonicdnscli/processing.py b/src/tonicdnscli/processing.py index <HASH>..<HASH> 100644 --- a/src/tonicdnscli/processing.py +++ b/src/tonicdnscli/processing.py @@ -79,7 +79,8 @@ def formattedPrint(datas): exit(1) if datas.get('records'): print("domain: %(name)s" % datas) - p...
Fix KeyError notitified_serial when resolver is SLAVE
mkouhei_tonicdnscli
train
py
68a69024dca74b65c1edf671abbdfa038653e124
diff --git a/src/Api.php b/src/Api.php index <HASH>..<HASH> 100644 --- a/src/Api.php +++ b/src/Api.php @@ -253,13 +253,15 @@ class Api implements ApiInterface * * @throws \Github\Exception\ErrorException * @throws \Github\Exception\InvalidArgumentException + * @throws \Github\Exception\RuntimeExce...
Changes Api::guessMimeType to always use file content when guessing - Adds specific check for directories - Removes guessing by extension as this gives a different result from regular filesystem behaviour
Potherca_flysystem-github
train
php
259ec40d729ea3b4bed05e9046a77953c21d8ba6
diff --git a/holoviews/core/tree.py b/holoviews/core/tree.py index <HASH>..<HASH> 100644 --- a/holoviews/core/tree.py +++ b/holoviews/core/tree.py @@ -44,9 +44,10 @@ class AttrTree(object): fixed_error = 'No attribute %r in this AttrTree, and none can be added because fixed=True' self.__dict__['_fixed...
Fixed AttrTree clone by allowing constructor to accept OrderedDict
pyviz_holoviews
train
py
c820482cfd81d2145955856440fb38647dc9f42d
diff --git a/src/satosa/frontends/saml2.py b/src/satosa/frontends/saml2.py index <HASH>..<HASH> 100644 --- a/src/satosa/frontends/saml2.py +++ b/src/satosa/frontends/saml2.py @@ -63,16 +63,16 @@ class SAMLFrontend(FrontendModule, SAMLBaseModule): A pysaml2 frontend module """ - def __init__(self, auth_re...
Rename conf to config in SAMLFrontend init
IdentityPython_SATOSA
train
py
c2a56aa7e0a97bd733e98db00b62f02ab97017fb
diff --git a/src/test/java/com/github/tomakehurst/wiremock/StubbingWithBrowserProxyAcceptanceTest.java b/src/test/java/com/github/tomakehurst/wiremock/StubbingWithBrowserProxyAcceptanceTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/github/tomakehurst/wiremock/StubbingWithBrowserProxyAcceptanceTest.java +...
Added an extra test for host matching
tomakehurst_wiremock
train
java
7bee607f949185f8cb03f42dbdc53c94e7460bd5
diff --git a/angr/exploration_techniques/tracer.py b/angr/exploration_techniques/tracer.py index <HASH>..<HASH> 100644 --- a/angr/exploration_techniques/tracer.py +++ b/angr/exploration_techniques/tracer.py @@ -875,7 +875,7 @@ class Tracer(ExplorationTechnique): self._current_slide = self._aslr_slides[target_o...
In at least some cases, _fast_forward is called where no fast forwarding is really needed. E.g., the fast forward is to the next instruction in the trace.
angr_angr
train
py
28cdeb31d4a55b7b0ed6ad8b8067fa7a49ebaec6
diff --git a/spec/baseNNumberMapperSpec.js b/spec/baseNNumberMapperSpec.js index <HASH>..<HASH> 100644 --- a/spec/baseNNumberMapperSpec.js +++ b/spec/baseNNumberMapperSpec.js @@ -121,6 +121,19 @@ describe("A Base-N Number Mapper", function() { expect(baseNNumberMapper.fromDecimal(45360)).toBe("Z00"); }); + it("i...
Add test for ignoring fractional base-N numbers when option is not true
brettmclean_number-converter
train
js
0d44cd2e086e41bf8924529aab1255e78c1a61f4
diff --git a/src/main/java/com/mebigfatguy/fbcontrib/detect/FunctionalInterfaceIssues.java b/src/main/java/com/mebigfatguy/fbcontrib/detect/FunctionalInterfaceIssues.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/mebigfatguy/fbcontrib/detect/FunctionalInterfaceIssues.java +++ b/src/main/java/com/mebigfatguy/f...
fix FII fp when anonymous lambda function casts results, don't suggest using methodreferences for #<I>
mebigfatguy_fb-contrib
train
java
51b8bdfffee5bc255d37b4328531b158a3138f88
diff --git a/isogeo_pysdk/__init__.py b/isogeo_pysdk/__init__.py index <HASH>..<HASH> 100644 --- a/isogeo_pysdk/__init__.py +++ b/isogeo_pysdk/__init__.py @@ -6,6 +6,6 @@ http://www.isogeo.com/ """ -__version__ = "2.16.0-493" +__version__ = "2.17.0-441" from isogeo_sdk import Isogeo
bump to version <I>.x
isogeo_isogeo-api-py-minsdk
train
py
b5b2ceb1824b04f9c2b00c5857bdc313c2db1db5
diff --git a/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb b/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb index <HASH>..<HASH> 100644 --- a/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb +++ b/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb @@ -9...
Make `type_map` to private because it is only used in the connection adapter Follow up of rails/rails#<I>.
rsim_oracle-enhanced
train
rb
cc1e141e82e8050001757cb1b79f663e5548efac
diff --git a/lib/core.js b/lib/core.js index <HASH>..<HASH> 100644 --- a/lib/core.js +++ b/lib/core.js @@ -142,9 +142,9 @@ Raja.prototype.upsert = function(obj, cb) { function Resource() { /* initialization code will not be called by Object.create */ } -Resource.prototype.depend = function(resource) { +Resource.pr...
Allow depend(resource, havingHeaders)
kapouer_raja
train
js
872d27593a9d29a7733a3db1794a84bb2fd746a5
diff --git a/src/ContentBundle/Model/Content.php b/src/ContentBundle/Model/Content.php index <HASH>..<HASH> 100644 --- a/src/ContentBundle/Model/Content.php +++ b/src/ContentBundle/Model/Content.php @@ -10,6 +10,7 @@ use Opifer\ContentBundle\Entity\Template; use Opifer\EavBundle\Entity\Value; use Opifer\EavBundle\E...
Missing use statement for MediaInterface added
Opifer_Cms
train
php
bedd1b07b02932a3f73e241dbf63494dca20e600
diff --git a/executor/adapter.go b/executor/adapter.go index <HASH>..<HASH> 100644 --- a/executor/adapter.go +++ b/executor/adapter.go @@ -608,7 +608,8 @@ func (a *ExecStmt) logAudit() { audit := plugin.DeclareAuditManifest(p.Manifest) if audit.OnGeneralEvent != nil { cmd := mysql.Command2Str[byte(atomic.Load...
plugin: add "exec start-time" to GeneralEvent (#<I>)
pingcap_tidb
train
go,go
dbb6976a1e480816fadb5f6d258cef6e56b055f9
diff --git a/bin/interactive.js b/bin/interactive.js index <HASH>..<HASH> 100644 --- a/bin/interactive.js +++ b/bin/interactive.js @@ -168,7 +168,7 @@ const questions = [ type: 'confirm', name: 'pkgjson', message: 'Add CLI command to package.json scripts', - when: () => fs.existsSync(path.join(process...
Only ask to save cli when cli was chosen
porsager_wright
train
js
a23bf5a17097987e87f2bcd52ed79ab133397504
diff --git a/cgutils/cgroup.py b/cgutils/cgroup.py index <HASH>..<HASH> 100644 --- a/cgutils/cgroup.py +++ b/cgutils/cgroup.py @@ -235,7 +235,6 @@ class PercpuStat(dict): stats = line.split(' ') # A line may end with a redundant space stats = [ stat for stat in stats if stat != '' ] - ...
Fix. Remove unexpectedly remaining debug print
peo3_cgroup-utils
train
py
5f8265a8f9bebc6d61c18d1e7c0aabb493ef2c41
diff --git a/server/http_handler.go b/server/http_handler.go index <HASH>..<HASH> 100644 --- a/server/http_handler.go +++ b/server/http_handler.go @@ -94,7 +94,7 @@ func writeError(w http.ResponseWriter, err error) { } func writeData(w http.ResponseWriter, data interface{}) { - js, err := json.Marshal(data) + js, e...
server: adjust the result of curl * (#<I>)
pingcap_tidb
train
go
788086270fb308df9f21f2155ac11d27dcb239de
diff --git a/lib/ore/generator.rb b/lib/ore/generator.rb index <HASH>..<HASH> 100644 --- a/lib/ore/generator.rb +++ b/lib/ore/generator.rb @@ -232,8 +232,6 @@ module Ore user_email.scan(/([^<]+)\s+<([^>]+)>/) do |(user,email)| @scm_user, @scm_email = user, email end - else - @sc...
No longer try to give @scm_user a default. USE ENV['USER'] instead.
ruby-ore_ore
train
rb
1923152e34558cddea787d16e9fbf57531ac12a0
diff --git a/spec/lib/gametel/waiter_spec.rb b/spec/lib/gametel/waiter_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/gametel/waiter_spec.rb +++ b/spec/lib/gametel/waiter_spec.rb @@ -18,4 +18,8 @@ describe Gametel::Waiter do it "is not as forgiving if you make it wait" do lambda { wait_until(0) }.should rai...
spec for Gamtel::Waiter specifying what it is waiting for
leandog_gametel
train
rb
7a60676e7fe77258b901b5f717dc454641a39fa3
diff --git a/gwt-material/src/test/java/gwt/material/design/client/ui/MaterialNavBarTest.java b/gwt-material/src/test/java/gwt/material/design/client/ui/MaterialNavBarTest.java index <HASH>..<HASH> 100644 --- a/gwt-material/src/test/java/gwt/material/design/client/ui/MaterialNavBarTest.java +++ b/gwt-material/src/test/...
Updated the test from recent update.
GwtMaterialDesign_gwt-material
train
java
c4464ab0fadefc7e189b3b2a9f064de12c463700
diff --git a/fs/fs.go b/fs/fs.go index <HASH>..<HASH> 100644 --- a/fs/fs.go +++ b/fs/fs.go @@ -33,11 +33,17 @@ import ( func NewFuseFS( clock timeutil.Clock, bucket gcs.Bucket) (ffs fuse.FileSystem, err error) { + // Set up the basic struct. fs := &fileSystem{ clock: clock, bucket: bucket, + inodes: make...
Set up invariants in NewFuseFS.
jacobsa_timeutil
train
go,go
42f4ee6025e1ff0e10b47f6339391d6be7d6369a
diff --git a/metal/mmtl/trainer.py b/metal/mmtl/trainer.py index <HASH>..<HASH> 100644 --- a/metal/mmtl/trainer.py +++ b/metal/mmtl/trainer.py @@ -351,6 +351,13 @@ class MultitaskTrainer(object): **optimizer_config["adam_config"], weight_decay=self.config["l2"], ) + ...
added adamax optimizer
HazyResearch_metal
train
py
05c901fd4f622aa9aa87b3eabfc87f0bec6dea30
diff --git a/workflow/executor/emissary/binary.go b/workflow/executor/emissary/binary.go index <HASH>..<HASH> 100644 --- a/workflow/executor/emissary/binary.go +++ b/workflow/executor/emissary/binary.go @@ -17,7 +17,9 @@ func copyBinary() error { return err } defer func() { _ = in.Close() }() - out, err := os.Op...
fix(executor): emissary - make argoexec executable from non-root containers. Fixes #<I> (#<I>)
argoproj_argo
train
go
f3b1a1b3bd4726161e1200863d278df7da5e66ff
diff --git a/log/log.go b/log/log.go index <HASH>..<HASH> 100644 --- a/log/log.go +++ b/log/log.go @@ -132,8 +132,7 @@ func (l *Logger) Print(i ...interface{}) { } func (l *Logger) Printf(format string, args ...interface{}) { - f := fmt.Sprintf("%s\n", format) - fmt.Fprintf(l.output, f, args...) + fmt.Fprintf(l.out...
Removed \n from log Printf
labstack_gommon
train
go,go
4dcb229b35d8d5ea5e00ccd1ce1b050092f6dcaa
diff --git a/test/unit/server/services/webhooks/webhook-service.test.js b/test/unit/server/services/webhooks/webhook-service.test.js index <HASH>..<HASH> 100644 --- a/test/unit/server/services/webhooks/webhook-service.test.js +++ b/test/unit/server/services/webhooks/webhook-service.test.js @@ -1,12 +1,15 @@ -const erro...
Removed models dependency from Webhook Service test no issue - There's no need to init whole models module in this test. Simplified mocks are easier to understand without any "magic" that's going on behind model's module "init()" call
TryGhost_Ghost
train
js
e68f647cba95fa5ab0613657c0e7a5cbf33c2700
diff --git a/src/Omnipay/PayPal/Message/RefundRequest.php b/src/Omnipay/PayPal/Message/RefundRequest.php index <HASH>..<HASH> 100644 --- a/src/Omnipay/PayPal/Message/RefundRequest.php +++ b/src/Omnipay/PayPal/Message/RefundRequest.php @@ -24,6 +24,11 @@ class RefundRequest extends AbstractRequest $data['TRAN...
Add PayPal partial refund support. Closes #<I>
thephpleague_omnipay-paypal
train
php
e9ec26f835d93166b165d53ef46823e6a11f66e2
diff --git a/tool.go b/tool.go index <HASH>..<HASH> 100644 --- a/tool.go +++ b/tool.go @@ -432,7 +432,7 @@ func main() { cmdServe.Flags().AddFlag(flagColor) cmdServe.Flags().AddFlag(flagTags) var port int - cmdServe.Flags().IntVarP(&port, "port", "p", 6060, "HTTP port") + cmdServe.Flags().IntVarP(&port, "port", "...
changed "serve" default port to <I> (#<I>)
gopherjs_gopherjs
train
go
aedeaa6ce85c3607e7e69ac846d1b9f8a3e0f4a1
diff --git a/sos/report/plugins/nvme.py b/sos/report/plugins/nvme.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/nvme.py +++ b/sos/report/plugins/nvme.py @@ -18,7 +18,7 @@ class Nvme(Plugin, IndependentPlugin): packages = ('nvme-cli',) def setup(self): - self.add_copy_spec("/etc/nvme/discove...
[nvme]: Update nvme plugin to collect nvme logs This patch is to update nvme plugin to collect /dev/nvme data
sosreport_sos
train
py
11e4ac82e66498ab4240b2b6efe3d5d1c63b2aa4
diff --git a/h2o-core/src/test/java/water/UnknownHeartbeatTest.java b/h2o-core/src/test/java/water/UnknownHeartbeatTest.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/test/java/water/UnknownHeartbeatTest.java +++ b/h2o-core/src/test/java/water/UnknownHeartbeatTest.java @@ -7,6 +7,7 @@ import java.util.ArrayList; ...
assertion too strict in multinode context? (#<I>)
h2oai_h2o-3
train
java
e94a9611433969ee372cd692ebaf691a02b9d74b
diff --git a/outputformatter.go b/outputformatter.go index <HASH>..<HASH> 100644 --- a/outputformatter.go +++ b/outputformatter.go @@ -1,8 +1,8 @@ package goose import ( - "code.google.com/p/go.net/html" - "code.google.com/p/go.net/html/atom" + "golang.org/x/net/html" + "golang.org/x/net/html/atom" "github.com/Pu...
Updated to golang.org/x/net/html
advancedlogic_GoOse
train
go
b80a206fadd08aded5b54220f98cff9f68d2b160
diff --git a/js/ui/VirtualItemsView.js b/js/ui/VirtualItemsView.js index <HASH>..<HASH> 100644 --- a/js/ui/VirtualItemsView.js +++ b/js/ui/VirtualItemsView.js @@ -422,6 +422,11 @@ define(['js/ui/View', 'js/core/Bindable', 'js/core/List', 'js/data/Collection', if (index < 0) { inde...
fixed key selection if out of index
rappid_rAppid.js
train
js
ad058bfc97520d87a9893eab75ab7d42a5733cfb
diff --git a/components/UrlRule.php b/components/UrlRule.php index <HASH>..<HASH> 100644 --- a/components/UrlRule.php +++ b/components/UrlRule.php @@ -3,11 +3,15 @@ namespace cms\components; class UrlRule extends \luya\base\UrlRule { + public function init() + { + } + public function createUrl($ma...
[+] added urlCreation for modules, added \luya\helpers\Url::to($route, $params); [*] changed default behaviour of createUrl
luyadev_luya-module-cms
train
php
2e082b58e44356a4acd7832f46cbf91423373380
diff --git a/jsonschema/validators.py b/jsonschema/validators.py index <HASH>..<HASH> 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -843,10 +843,12 @@ def validate(instance, schema, cls=None, *args, **kwargs): :func:`validate` will first verify that the provided schema is itself va...
Hopefully clarify that this function is really only the most simple entry.
Julian_jsonschema
train
py
7c7773c12359be2e578b78af8f722e649ee21101
diff --git a/scripts/jest.init.js b/scripts/jest.init.js index <HASH>..<HASH> 100644 --- a/scripts/jest.init.js +++ b/scripts/jest.init.js @@ -5,3 +5,15 @@ import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() }); + +/* Fail tests on PropType warnings ...
Issue #<I> - Set console.warn and console.error to throw in tests
storybooks_storybook
train
js
a6cfe4712152cb1203a4bb8da91d37a51d7d27f9
diff --git a/embedly/__init__.py b/embedly/__init__.py index <HASH>..<HASH> 100644 --- a/embedly/__init__.py +++ b/embedly/__init__.py @@ -1,3 +1,3 @@ from client import Embedly -__version__ = '0.4.1' \ No newline at end of file +__version__ = '0.4.2' \ No newline at end of file diff --git a/embedly/client.py b/embe...
.regex not ._regex. Thanks for the catch @umbrae
embedly_embedly-python
train
py,py,py
5688d99abedd94b9ed1ef4097c9b8cecf5bf9d19
diff --git a/lib/crypto-base-buffer.js b/lib/crypto-base-buffer.js index <HASH>..<HASH> 100644 --- a/lib/crypto-base-buffer.js +++ b/lib/crypto-base-buffer.js @@ -180,8 +180,13 @@ module.exports = function CryptoBaseBuffer() { return Buffer.byteLength(value, encoding) == self.expectedSize; } - ...
fix is valid when param is CryptoBaseBuffer
paixaop_node-sodium
train
js
3334fd618d77b995939e0e32ec86dca099376757
diff --git a/src/Zicht/Bundle/FrameworkExtraBundle/Twig/Extension.php b/src/Zicht/Bundle/FrameworkExtraBundle/Twig/Extension.php index <HASH>..<HASH> 100644 --- a/src/Zicht/Bundle/FrameworkExtraBundle/Twig/Extension.php +++ b/src/Zicht/Bundle/FrameworkExtraBundle/Twig/Extension.php @@ -51,6 +51,10 @@ class Extension ex...
hotfix - defensive programming Missing globals property
zicht_framework-extra-bundle
train
php
9f5a355b3353490cb26302700fe4ed2bd5240e76
diff --git a/dash/utils/__init__.py b/dash/utils/__init__.py index <HASH>..<HASH> 100644 --- a/dash/utils/__init__.py +++ b/dash/utils/__init__.py @@ -62,7 +62,7 @@ def get_sys_cacheable(key, ttl, calculate, as_json=True): Gets the result of a method call, using the given key and TTL as a cache """ cache...
get_sys_cacheable shouldn't trigger re-calculation if cache returns falsey value
rapidpro_dash
train
py,py
99baa45a47cb721406a742b3145244012a84da9d
diff --git a/devices.js b/devices.js index <HASH>..<HASH> 100644 --- a/devices.js +++ b/devices.js @@ -1564,6 +1564,14 @@ const devices = [ ota: ota.zigbeeOTA, }, { + zigbeeModel: ['1744130P7'], + model: '1744130P7', + vendor: 'Philips', + description: 'Hue Econic outdoor ...
Added Hue Econic Outdoor Pedestal (#<I>) * Added Hue Econic Outdoor Pedestal * Update devices.js
Koenkk_zigbee-shepherd-converters
train
js
541ed53ce1cb6315919482f3732f7c94197c5440
diff --git a/resources/lang/zh-TW/setup.php b/resources/lang/zh-TW/setup.php index <HASH>..<HASH> 100644 --- a/resources/lang/zh-TW/setup.php +++ b/resources/lang/zh-TW/setup.php @@ -13,9 +13,9 @@ return [ 'setup' => '安裝', 'title' => '安裝 Cachet', 'service_details' => '服務詳細信息', -...
New translations setup.php (Chinese Traditional)
CachetHQ_Cachet
train
php
f1defdcb1d4b1ce44d3da2388f2e296a815f2aaa
diff --git a/lib/lifx/gateway_connection.rb b/lib/lifx/gateway_connection.rb index <HASH>..<HASH> 100644 --- a/lib/lifx/gateway_connection.rb +++ b/lib/lifx/gateway_connection.rb @@ -21,17 +21,21 @@ module LIFX # We receive responses via UDP transport listening to broadcast in Network @udp_transpo...
Refactor out tcp connection
LIFX_lifx-gem
train
rb
a583a60fa0ec4cfd24554d2ea98910a9d247214c
diff --git a/lib/linguist/language.rb b/lib/linguist/language.rb index <HASH>..<HASH> 100644 --- a/lib/linguist/language.rb +++ b/lib/linguist/language.rb @@ -11,6 +11,10 @@ module Linguist def self.create(attributes = {}) language = new(attributes) + if @name_index.key?(language.name.downcase) + ...
Warn about duplicate language names and extensions
github_linguist
train
rb
6f376193331a1810903a1e11a262a8c06726c744
diff --git a/lib/Facebook.js b/lib/Facebook.js index <HASH>..<HASH> 100644 --- a/lib/Facebook.js +++ b/lib/Facebook.js @@ -63,8 +63,11 @@ function Facebookbot(configuration) { facebook_message.sender_action = message.sender_action; } - //Add Access Token to outgoing request + ...
Add notification type field for message for Facebook integration
howdyai_botkit
train
js
2a9cd65436ed569713a2540236342b98cc560c7f
diff --git a/trace_viewer/build/generate_standalone_timeline_view.py b/trace_viewer/build/generate_standalone_timeline_view.py index <HASH>..<HASH> 100644 --- a/trace_viewer/build/generate_standalone_timeline_view.py +++ b/trace_viewer/build/generate_standalone_timeline_view.py @@ -35,9 +35,7 @@ various ordering restri...
Add a CalcLoadSequence method to standalone
catapult-project_catapult
train
py
96104c1a989bd898d1a2b2905cec930dee3a3564
diff --git a/lib/puppet/indirector/terminus.rb b/lib/puppet/indirector/terminus.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/indirector/terminus.rb +++ b/lib/puppet/indirector/terminus.rb @@ -70,7 +70,7 @@ class Puppet::Indirector::Terminus raise("Invalid name #{longname}") unless names.length > 0 proc...
(PUP-<I>) Refactor compare against "" with empty?
puppetlabs_puppet
train
rb
a4adf6df82926c267a74fb287249106a9582715d
diff --git a/sharding-proxy/sharding-proxy-transport/sharding-proxy-transport-postgresql/src/main/java/org/apache/shardingsphere/shardingproxy/transport/postgresql/packet/command/query/text/PostgreSQLDataRowPacket.java b/sharding-proxy/sharding-proxy-transport/sharding-proxy-transport-postgresql/src/main/java/org/apach...
#<I>, chinese character for PostgreSQL
apache_incubator-shardingsphere
train
java
6ecf9ade99ba2df299b3c6a31dd840fa304ad237
diff --git a/structr-ui/src/main/java/org/structr/web/servlet/HtmlServlet.java b/structr-ui/src/main/java/org/structr/web/servlet/HtmlServlet.java index <HASH>..<HASH> 100644 --- a/structr-ui/src/main/java/org/structr/web/servlet/HtmlServlet.java +++ b/structr-ui/src/main/java/org/structr/web/servlet/HtmlServlet.java @...
Don't remove leading / from path to find a node's parent page
structr_structr
train
java
6ddec314f408ea1276da0bab912a099dc1e7bdaa
diff --git a/lib/swagger_docs_generator/generator.rb b/lib/swagger_docs_generator/generator.rb index <HASH>..<HASH> 100644 --- a/lib/swagger_docs_generator/generator.rb +++ b/lib/swagger_docs_generator/generator.rb @@ -14,13 +14,14 @@ module SwaggerDocsGenerator def initialize @file = 'swagger.json' - ...
Create folder for version api docs
Dev-Crea_swagger-docs-generator
train
rb
37488562e86ea5dde29609f0162287ef80c2826f
diff --git a/examples/asf.rb b/examples/asf.rb index <HASH>..<HASH> 100755 --- a/examples/asf.rb +++ b/examples/asf.rb @@ -1,7 +1,11 @@ #!/usr/bin/env ruby -require 'bundler/setup' -require 'gmail-britta' +begin + require File.join(File.dirname(__FILE__), '../lib/gmail-britta.rb') +rescue + require 'bundler/setup'...
Use the local gmail-britta installation ...and fall back to Bundler if necessary. This should let me co-develop my email filters (-:
antifuchs_gmail-britta
train
rb
a802e80c825879fda98f720fc6f10d1b56712e9d
diff --git a/actions/MediaManager.php b/actions/MediaManager.php index <HASH>..<HASH> 100755 --- a/actions/MediaManager.php +++ b/actions/MediaManager.php @@ -96,9 +96,8 @@ class MediaManager extends \tao_actions_SaSModule $mediaSource = new MediaSource(array()); $filepath = $mediaSource->do...
do not add content type header so we can have the xml as a string
oat-sa_extension-tao-mediamanager
train
php,js
d59f9f8feb948a99415621ac43ff830ae03f39ab
diff --git a/highcharts/highstock/options.py b/highcharts/highstock/options.py index <HASH>..<HASH> 100644 --- a/highcharts/highstock/options.py +++ b/highcharts/highstock/options.py @@ -542,6 +542,11 @@ class yAxisOptions(BaseOptions): "tickmarkPlacement": basestring, "title": (Title, dict), ...
Stock logarithmic (#<I>) * Permit type yAxis option used for setting logarithmic scale * Add comment string noting the reason for adding an undocumented keyword. * Fix typo in 'type' datatype
kyper-data_python-highcharts
train
py
e91c32e6807098a43b82df134c9ccc0919f05275
diff --git a/lib/randomapi/request.rb b/lib/randomapi/request.rb index <HASH>..<HASH> 100644 --- a/lib/randomapi/request.rb +++ b/lib/randomapi/request.rb @@ -5,28 +5,28 @@ module RandomApi module Request # Perform an HTTP GET request def get(path, options={}, raw=false) - request(:get, path, options,...
renamed private request => make_request
byteg_randomapi-ruby
train
rb
d0c4af1aa3dcd8a0a317c061e909a35c33837e74
diff --git a/hypermap/dynasty/utils.py b/hypermap/dynasty/utils.py index <HASH>..<HASH> 100644 --- a/hypermap/dynasty/utils.py +++ b/hypermap/dynasty/utils.py @@ -25,6 +25,8 @@ def clean_text(text): text = text.decode("utf-8") except UnicodeEncodeError: text = text.encode("ascii", "ignore") + ...
Changes to the exception by adding extrawq
cga-harvard_Hypermap-Registry
train
py
8480fa90680173e10ba43c72c274bea66370588a
diff --git a/src/jquery.fancytree.dnd.js b/src/jquery.fancytree.dnd.js index <HASH>..<HASH> 100644 --- a/src/jquery.fancytree.dnd.js +++ b/src/jquery.fancytree.dnd.js @@ -237,7 +237,8 @@ $.ui.fancytree.registerExtension({ tree.$container.on("mousedown", function(event){ if( !tree.hasFocus() && ctx.options.dnd....
Update jquery.fancytree.dnd.js There are cases when getNode returns null (the user did not click a node ...)
mar10_fancytree
train
js
257afb0046c4af30bbfe0d46c36f0ec3257051b6
diff --git a/glooey/__init__.py b/glooey/__init__.py index <HASH>..<HASH> 100644 --- a/glooey/__init__.py +++ b/glooey/__init__.py @@ -7,4 +7,5 @@ from .root import * from .containers import * from .miscellaneous import * from . import drawing +from . import themes
Make the themes module available by default.
kxgames_glooey
train
py
a61e2251a8c24d8cb30c0972674fd789237a987d
diff --git a/tests/test_mark_tokens.py b/tests/test_mark_tokens.py index <HASH>..<HASH> 100644 --- a/tests/test_mark_tokens.py +++ b/tests/test_mark_tokens.py @@ -634,7 +634,6 @@ bar = ('x y z' # comment2 check('a = 1', 'a += 1') check('a *= 1', 'a += 1') check('[a for a in []]', '[a for a in ()]') - ...
Don't check f-strings in test_assert_nodes_equal because of python support
gristlabs_asttokens
train
py
d79470253473b2200d4c12a24033651c481061f5
diff --git a/keymap/emacs.js b/keymap/emacs.js index <HASH>..<HASH> 100644 --- a/keymap/emacs.js +++ b/keymap/emacs.js @@ -330,9 +330,9 @@ cmds.previousLine = move(byLine, -1); - cmds.scrollDownCommand = move(byPage, 1); + cmds.scrollDownCommand = move(byPage, -1); - cmds.scrollUpCommand = move(byPage, -1);...
[emacs bindings] Fix by-page scrolling bindings
codemirror_CodeMirror
train
js
049f6be95b0ca1eda9fa2a1aab2ba832dd82f041
diff --git a/haraka.js b/haraka.js index <HASH>..<HASH> 100644 --- a/haraka.js +++ b/haraka.js @@ -32,7 +32,7 @@ process.on('uncaughtException', function (err) { }); } else { - logger.logcrit('Caught exception: ' + err); + logger.logcrit('Caught exception: ' + JSON.stringify(err)); ...
If err doesn't have .stack, stringify
haraka_Haraka
train
js
37e3e9a70e4c95033b980554899cf3d186c741d1
diff --git a/src/django_su/views.py b/src/django_su/views.py index <HASH>..<HASH> 100644 --- a/src/django_su/views.py +++ b/src/django_su/views.py @@ -13,7 +13,7 @@ def login_as_user(request, user_id): su_user.backend = settings.AUTHENTICATION_BACKENDS[0] login(request, su_user) request.session["exit_use...
Now can be configurable the redirects
adamcharnock_django-su
train
py
74c07acdfbdd509fe677a4d05e16b1c6e5de2be3
diff --git a/packages/node_modules/@ciscospark/internal-plugin-wdm/src/device/device.js b/packages/node_modules/@ciscospark/internal-plugin-wdm/src/device/device.js index <HASH>..<HASH> 100644 --- a/packages/node_modules/@ciscospark/internal-plugin-wdm/src/device/device.js +++ b/packages/node_modules/@ciscospark/intern...
feat(i-p-wdm): Add whiteboardFileShareControl property to device Pass along "new" wdm property to device spark.internal.device users
webex_spark-js-sdk
train
js
9911c98ae64cf261b516897c4630cfda15aa5ee0
diff --git a/.kickoff/tasks/svg.js b/.kickoff/tasks/svg.js index <HASH>..<HASH> 100644 --- a/.kickoff/tasks/svg.js +++ b/.kickoff/tasks/svg.js @@ -9,7 +9,7 @@ const svgstore = require('gulp-svgstore'); const config = require('../config'); gulp.task('svg', () => { - return gulp.src([`${config.svg.srcDir}/*`]) + retu...
:bug: fixes an sag compilation bug This was a strange one: the demo code in the svg readme was actually being compiled into the svg sprite sheet
TryKickoff_kickoff
train
js
124f605023c83b5a70f18b6dbfc102fcbd9a28d4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ def read(fname): setup( name='volatile', - version='1.2.dev1', + version='1.3.dev1', description='A small extension for the tempfile module.', long_description=read('README.rst'), au...
Start developing version <I>.dev1 (after release of <I>)
mbr_volatile
train
py
2021e250a9b8f8ea0cae050eed3c022d5ce74f7a
diff --git a/spec/live/request_spec.rb b/spec/live/request_spec.rb index <HASH>..<HASH> 100644 --- a/spec/live/request_spec.rb +++ b/spec/live/request_spec.rb @@ -9,7 +9,7 @@ describe ZendeskAPI::Request do end it_should_be_creatable - it_should_be_updatable :subject + it_should_be_updatable :solved, true ...
fix live request spec subjects are no longer writable
zendesk_zendesk_api_client_rb
train
rb
072bf53993d26b0401f8894a7586f28dedbdc720
diff --git a/Tasks.php b/Tasks.php index <HASH>..<HASH> 100644 --- a/Tasks.php +++ b/Tasks.php @@ -177,8 +177,7 @@ trait Tasks // These folders will be given full write permissions $folders = [ - './wp-content/uploads', - './wp-content/themes/fructify/views/cache' + './wp-content/uploads' ]; // L...
The fructify theme will be dropping gears/view in favor or phpplates so we no longer need a writeable cache folder.
fructify_robo
train
php
27fe96ac07de2a64d7b10a22c3d1822feaf2acb3
diff --git a/src/configStore.js b/src/configStore.js index <HASH>..<HASH> 100644 --- a/src/configStore.js +++ b/src/configStore.js @@ -26,6 +26,20 @@ class ConfigStore { for (let storeName of Object.keys(this._config || {})) { let storeDesc = this._config[storeName]; storeDesc.type = ...
ConfigStore virtual props loaders creation on setup
getblank_blank-node-worker
train
js
3c48c8cf891082e75e4eb477a57670708b94fc19
diff --git a/cf/commands/plugin/install_plugin.go b/cf/commands/plugin/install_plugin.go index <HASH>..<HASH> 100644 --- a/cf/commands/plugin/install_plugin.go +++ b/cf/commands/plugin/install_plugin.go @@ -136,7 +136,6 @@ type PluginInstallerWithRepo struct { } func (installer *PluginInstallerWithRepo) Install(inp...
Remove mutation of return val in repo install [#<I>]
cloudfoundry_cli
train
go
2c2cc087265f1291245c98b518bfa5f793b85761
diff --git a/src/main/java/com/stratio/streaming/commons/messages/StratioStreamingMessage.java b/src/main/java/com/stratio/streaming/commons/messages/StratioStreamingMessage.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/stratio/streaming/commons/messages/StratioStreamingMessage.java +++ b/src/main/java/com/s...
Constructor to be used in the API builder
Stratio_Decision
train
java
fab7496a1862ff8959704b6bb6e127578cb38605
diff --git a/src/foremast/utils/gcp_environment.py b/src/foremast/utils/gcp_environment.py index <HASH>..<HASH> 100644 --- a/src/foremast/utils/gcp_environment.py +++ b/src/foremast/utils/gcp_environment.py @@ -57,7 +57,8 @@ class GcpEnvironment: return self._all_projects_cache # No cached respo...
chore: linting issues in gcp environment
foremast_foremast
train
py
dd25a8b4bf8f59ceec97f826c46b78aa06fbabc5
diff --git a/num2words/lang_DE.py b/num2words/lang_DE.py index <HASH>..<HASH> 100644 --- a/num2words/lang_DE.py +++ b/num2words/lang_DE.py @@ -70,9 +70,9 @@ class Num2Word_DE(Num2Word_EU): "ert": "erts", "end": "ends", "ion": "ions", - ...
Correction of german ordinals. (#<I>)
savoirfairelinux_num2words
train
py,py
06f39e532e19fd2382295a98144996f262c08be3
diff --git a/com/linuxense/javadbf/Utils.java b/com/linuxense/javadbf/Utils.java index <HASH>..<HASH> 100644 --- a/com/linuxense/javadbf/Utils.java +++ b/com/linuxense/javadbf/Utils.java @@ -7,7 +7,7 @@ author: anil@linuxense.com license: LGPL (http://www.gnu.org/copyleft/lesser.html) - $Id: Utils.java,v 1.6 2...
Made the class final to present sub-classing and made the default constructor private to present instantiation.
albfernandez_javadbf
train
java
926986273616fb2f8d978cc51668e6d30d027b11
diff --git a/api/src/test/java/com/google/common/flogger/testing/TestLogger.java b/api/src/test/java/com/google/common/flogger/testing/TestLogger.java index <HASH>..<HASH> 100644 --- a/api/src/test/java/com/google/common/flogger/testing/TestLogger.java +++ b/api/src/test/java/com/google/common/flogger/testing/TestLogge...
Renaming timestampMicros to timestampMillis/timestampNanos where appropriate. There was no actual error in converting between timestamps, just the variable names were incorrect. Also fix flakyness in RotatingFileLoggerTest. RELNOTES=N/A ------------- Created by MOE: <URL>
google_flogger
train
java
1aede60a335d73e18affdf0dc7065e7b14abc8c3
diff --git a/lib/models/PayInPaymentDetailsCardDirect.js b/lib/models/PayInPaymentDetailsCardDirect.js index <HASH>..<HASH> 100644 --- a/lib/models/PayInPaymentDetailsCardDirect.js +++ b/lib/models/PayInPaymentDetailsCardDirect.js @@ -3,7 +3,8 @@ var PayInPaymentDetailsCard = require('./PayInPaymentDetailsCard'); va...
added ip address in PayInPaymentDetailsCardDirect
Mangopay_mangopay2-nodejs-sdk
train
js
3b9529eb45d7b115d7034ee14c881f3645050aa3
diff --git a/packages/components/bolt-toc/src/toc.js b/packages/components/bolt-toc/src/toc.js index <HASH>..<HASH> 100644 --- a/packages/components/bolt-toc/src/toc.js +++ b/packages/components/bolt-toc/src/toc.js @@ -50,11 +50,6 @@ class BoltToc extends withContext(BoltElement) { // These are fixed for now, make...
refactor: move waypoint debugger to `connectedCallback`
bolt-design-system_bolt
train
js
d27310af9b2ce123b891b9754e3f7cf7d4225c87
diff --git a/devices/osram.js b/devices/osram.js index <HASH>..<HASH> 100644 --- a/devices/osram.js +++ b/devices/osram.js @@ -142,7 +142,7 @@ module.exports = [ model: 'AB32840', vendor: 'OSRAM', description: 'LIGHTIFY LED Classic B40 tunable white', - extend: extend.ledvance.light_on...
Add color temperature range for AB<I> (#<I>)
Koenkk_zigbee-shepherd-converters
train
js
a29ea93ffdbe6e77eb7f7847ce08a06734fcdd76
diff --git a/jsonld.php b/jsonld.php index <HASH>..<HASH> 100644 --- a/jsonld.php +++ b/jsonld.php @@ -1314,7 +1314,11 @@ function _flatten($parent, $parentProperty, $value, $subjects) { $flattened = null; - if(is_array($value)) + if($value === null) + { + // drop null values + } + else if(is_arra...
Passed nulls test.
digitalbazaar_php-json-ld
train
php
0e1d3cc4e44917af35e44d4e0f9b6878c370c5c6
diff --git a/lib/pdu.js b/lib/pdu.js index <HASH>..<HASH> 100644 --- a/lib/pdu.js +++ b/lib/pdu.js @@ -36,7 +36,9 @@ function PDU(command, options) { } } for (var key in options) { - if (key in tlvs && (key !== 'message_state' || this.command !== 'query_sm_resp')) { + if (key in tlvs + && (key !== 'message_s...
include query_broadcast_sm_resp
farhadi_node-smpp
train
js
92039222b59e4efe2026f45886a1b58e4dfc659e
diff --git a/cmd/helm/fetch.go b/cmd/helm/fetch.go index <HASH>..<HASH> 100644 --- a/cmd/helm/fetch.go +++ b/cmd/helm/fetch.go @@ -14,8 +14,6 @@ import ( ) var untarFile bool - -// TODO(vaikas): Is there a well known directory for these?? var untarDir string func init() {
remove the todo based on PR comments
helm_helm
train
go
17dff18f8288008004457ee0d7cc377b3b16a9a9
diff --git a/errors.go b/errors.go index <HASH>..<HASH> 100644 --- a/errors.go +++ b/errors.go @@ -10,7 +10,11 @@ import ( type Error struct { Type string `json:"type"` Message string `json:"message"` - Code string `json:"code"` + CodeVal string `json:"code"` +} + +func (e Error) Code() string { + return e.C...
kite/error: implement a Code() method to imply third party interfaces
koding_kite
train
go
7b500fb68da739fe86c35681c7379d91ad757849
diff --git a/aws/session/doc.go b/aws/session/doc.go index <HASH>..<HASH> 100644 --- a/aws/session/doc.go +++ b/aws/session/doc.go @@ -124,9 +124,8 @@ file (~/.aws/config) and shared credentials file (~/.aws/credentials). Both files have the same format. If both config files are present the configuration from both ...
Change dup. mention of "credentials" to "config" (#<I>) There are several places in a row in the `session` doc that mention the credentials file (`~/.aws/credentials`) and the config file (`~/.aws/config`) file back to back. In one case they were both called the "shared credentials" file so I changed the appropriat...
aws_aws-sdk-go
train
go