hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
68a116dc1a31313118360b66e3a1929f990b31e7
diff --git a/src/controls.js b/src/controls.js index <HASH>..<HASH> 100644 --- a/src/controls.js +++ b/src/controls.js @@ -726,7 +726,7 @@ Crafty.c("Multiway", { this._speed = { x: 3, y: 3 }; if (keys) { - if (speed.x && speed.y) { + if (speed.x !== undefined && speed.y !== undefined) { this._speed.x =...
Fix `multiway`'s behavior when dealing with zero-valued axis of `speed`. This fixes the behavior of `multiway` when `speed` is as an object with 0 value for either axis. Passing `{x: 0, y: 0}`, or variations of, is now safe.
craftyjs_Crafty
train
ed5e66ecdbdc59aa66e700e8de0c28e54f741736
diff --git a/cpyMSpec/spectrum.py b/cpyMSpec/spectrum.py index <HASH>..<HASH> 100644 --- a/cpyMSpec/spectrum.py +++ b/cpyMSpec/spectrum.py @@ -298,24 +298,24 @@ class CentroidedSpectrum(SpectrumBase): def removeIntensitiesBelow(self, min_intensity): ims.spectrum_trim_intensity(self.ptr, min_intensity) -...
fixed a bug in ims-cpp, improved interface a bit
alexandrovteam_cpyMSpec
train
752fc6df51c3c4b57cc63637bc95ace003527a3d
diff --git a/DependencyInjection/FOSRestExtension.php b/DependencyInjection/FOSRestExtension.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/FOSRestExtension.php +++ b/DependencyInjection/FOSRestExtension.php @@ -77,7 +77,6 @@ class FOSRestExtension extends Extension implements PrependExtensionInterface ...
Fix a bug in FOSRestExtension ``fos_rest.converter.request_body`` is always touched even if it doesn't exist in ``loadSerializer``.
FriendsOfSymfony_FOSRestBundle
train
295afd1b858bc665368f3646c9195b1e334ed315
diff --git a/field.go b/field.go index <HASH>..<HASH> 100644 --- a/field.go +++ b/field.go @@ -10,14 +10,19 @@ type Field struct { Name string Error *ValidationError renderArgs map[string]interface{} + errorClass string } -func NewField(name string, renderArgs map[string]interface{}) *Field { +func ...
Issue #<I> - Add argument to NewField to set error class for field.
revel_revel
train
08befae8e58dd7e9ddcc500bb7c6bf9090b10a22
diff --git a/inspire_schemas/utils.py b/inspire_schemas/utils.py index <HASH>..<HASH> 100644 --- a/inspire_schemas/utils.py +++ b/inspire_schemas/utils.py @@ -394,7 +394,7 @@ def normalize_arxiv_category(category): Example: >>> from inspire_schemas.utils import normalize_arxiv_category - >>> norm...
doctests: skip unicode result test It turns out that it's not even doable without major rework on 3rd parties. See <URL>
inspirehep_inspire-schemas
train
44115e6c687ca80f7463496a6a6aad3c0cb6f095
diff --git a/m9dicts/api.py b/m9dicts/api.py index <HASH>..<HASH> 100644 --- a/m9dicts/api.py +++ b/m9dicts/api.py @@ -219,9 +219,7 @@ def convert_to(obj, ordered=False, to_namedtuple=False, :param to_namedtuple: Convert `obj` to namedtuple object of which definition is created on the fly if True...
refactor: remove dups in doctext in m9dicts.api.convert_to
ssato_python-anyconfig
train
a7eeb6a6a796690af4c84d0ee6cda0abc48fbc8f
diff --git a/builder/vmware/iso/driver_esx5.go b/builder/vmware/iso/driver_esx5.go index <HASH>..<HASH> 100644 --- a/builder/vmware/iso/driver_esx5.go +++ b/builder/vmware/iso/driver_esx5.go @@ -311,8 +311,8 @@ func (d *ESX5Driver) String() string { } func (d *ESX5Driver) datastorePath(path string) string { - baseD...
vmware/iso: support hierarchical output directories When providing a hierarchical output_directory value like 'transient/jenkins-slave', the VM would fail to build in the CreateDisk step. The properly created output directory would not match the location provided to CreateDisk, since datastorePath() did not properly ...
hashicorp_packer
train
a12c548656a9d93ec437f40ee4b0c62b53f67580
diff --git a/src/main/java/org/jfrog/hudson/util/ExtractorUtils.java b/src/main/java/org/jfrog/hudson/util/ExtractorUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/jfrog/hudson/util/ExtractorUtils.java +++ b/src/main/java/org/jfrog/hudson/util/ExtractorUtils.java @@ -383,7 +383,7 @@ public class Extracto...
HAP-<I> - User-defined deploy properties
jenkinsci_artifactory-plugin
train
1abb8bd92302eaf09a76a77fb0c5ce35a9cebf3f
diff --git a/lib/tus/response.rb b/lib/tus/response.rb index <HASH>..<HASH> 100644 --- a/lib/tus/response.rb +++ b/lib/tus/response.rb @@ -2,14 +2,9 @@ module Tus # Object that responds to #each, #length, and #close, suitable for returning # as a Rack response body. class Response - def initialize(chunks:, ...
Remove Tus::Response#length Tus::Response#length isn't used by the server, because it can fetch the content length from the Upload-Length header, on in case of Range requests calculate it from the Range header.
janko_tus-ruby-server
train
12a94eba44aac882232258bd30fd830081f25006
diff --git a/lib/willitmerge.js b/lib/willitmerge.js index <HASH>..<HASH> 100644 --- a/lib/willitmerge.js +++ b/lib/willitmerge.js @@ -89,6 +89,7 @@ willitmerge.findRemote = function(done) { that.options.repo = res[1]; } done(null, remote); + return false; } next(); ...
prevent findRemote from running more then it should
shama_willitmerge
train
a3509769e953282c7f65c53a7c538b49f608d07f
diff --git a/sdcclient/_common.py b/sdcclient/_common.py index <HASH>..<HASH> 100644 --- a/sdcclient/_common.py +++ b/sdcclient/_common.py @@ -853,6 +853,8 @@ class _SdcCommon(object): 'canUseSysdigCapture': perm_capture if perm_capture else team['canUseSysdigCapture'], 'canUseCustomEvents': p...
fix(teams): Propagate old values for defaultTeamRole and entryPoint (#<I>)
draios_python-sdc-client
train
1f4084d79abf1a0423c2b8cc4997ee530013ce53
diff --git a/Request/RequestBodyParamConverter.php b/Request/RequestBodyParamConverter.php index <HASH>..<HASH> 100644 --- a/Request/RequestBodyParamConverter.php +++ b/Request/RequestBodyParamConverter.php @@ -5,7 +5,7 @@ namespace Draw\DrawBundle\Request; use Draw\DrawBundle\PropertyAccess\DynamicArrayObject; use D...
fix exception class and allow overide of exception thrown
mpoiriert_draw-bundle
train
ef7aa31160f4a9b9fae54121b49dc4936325fa09
diff --git a/hackerrank/HackerRankAPI.py b/hackerrank/HackerRankAPI.py index <HASH>..<HASH> 100644 --- a/hackerrank/HackerRankAPI.py +++ b/hackerrank/HackerRankAPI.py @@ -59,6 +59,7 @@ class HackerRankAPI(): # to convert json to a class object of Result class Result(): def __init__(self,result): + self...
Added runtime error variable Hackerrank API supports detection of runtime errors, through stderr field. Added the same field to error variable in Result class.
nikhilkumarsingh_hackerrank-sdk
train
5f6c2d38fa5ea690112830ff4423dedafbd9e370
diff --git a/features/gulp/gulp-allons-y-start.js b/features/gulp/gulp-allons-y-start.js index <HASH>..<HASH> 100644 --- a/features/gulp/gulp-allons-y-start.js +++ b/features/gulp/gulp-allons-y-start.js @@ -5,5 +5,5 @@ module.exports = { enabled: !process.env.GULP || process.env.GULP == 'true' || false, spawn: tr...
refactor(gulp): rename env variables and define $gulp in DI
CodeCorico_allons-y-gulp
train
d0a2a2ec22f5b4dba4db5704905a958ab75ce718
diff --git a/tests/Doctrine/Tests/ODM/PHPCR/Functional/MixinTest.php b/tests/Doctrine/Tests/ODM/PHPCR/Functional/MixinTest.php index <HASH>..<HASH> 100644 --- a/tests/Doctrine/Tests/ODM/PHPCR/Functional/MixinTest.php +++ b/tests/Doctrine/Tests/ODM/PHPCR/Functional/MixinTest.php @@ -41,12 +41,25 @@ class MixinTest exten...
expand test to show that PHPCR-<I> is fixed
doctrine_phpcr-odm
train
2dc3973e0f7fe62459c91da5d58169aaf1b2eff2
diff --git a/simuvex/storage/paged_memory.py b/simuvex/storage/paged_memory.py index <HASH>..<HASH> 100644 --- a/simuvex/storage/paged_memory.py +++ b/simuvex/storage/paged_memory.py @@ -101,7 +101,7 @@ class Page(object): return (self._sinkhole, actual_max - page_idx) # there are two options no...
SimPagedMemory: fix the bug that bytes_read is incorrect when there are missing pages.
angr_angr
train
c5391c8e33313f8ffa55b50ad9322d123a3835a7
diff --git a/covador/types.py b/covador/types.py index <HASH>..<HASH> 100644 --- a/covador/types.py +++ b/covador/types.py @@ -2,7 +2,7 @@ import re from datetime import datetime -from .utils import Pipeable, clone, ensure_context +from .utils import Pipeable, clone, ensure_context, merge_dicts from .compat import...
schema extending should return Map with merged items
baverman_covador
train
e90f7bfafa1ebdc25c732742283ecaac4f42f43f
diff --git a/spec/unit/util_spec.rb b/spec/unit/util_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/util_spec.rb +++ b/spec/unit/util_spec.rb @@ -152,7 +152,7 @@ describe Puppet::Util do # In 2.3, the behavior is mostly correct when external codepage is 65001 / UTF-8 it "works around Ruby bug 8822 (whi...
(maint) Remove rspec condition for ruby < <I>
puppetlabs_puppet
train
03ed4159af2dded87fa6474cfb3a2679b82eb4a8
diff --git a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/LoggingGeneratorFragment.java b/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/LoggingGeneratorFragment.java index <HASH>..<HASH> 100644 --- a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/Logging...
[xtext][generator] Made LoggingGeneratorFragment usable, e.g. fragment = LoggingGeneratorFragment { message = "Start to generate the UI parser" levelName = "DEBUG" // optional, defaults to INFO } Just in case someone has a long running workflow and wants to see some progress
eclipse_xtext-extras
train
3c5b113af6f07d7d860206f0f1780e2af6dab6b9
diff --git a/database/factories/TaxRateFactory.php b/database/factories/TaxRateFactory.php index <HASH>..<HASH> 100644 --- a/database/factories/TaxRateFactory.php +++ b/database/factories/TaxRateFactory.php @@ -1,6 +1,5 @@ <?php -namespace Database\Factories; -use Illuminate\Database\Eloquent\Factories\Factory; + use...
Update TaxRateFactory.php
avored_framework
train
a595645dec6fc2975caaf8f37dafa3ca303ea2c4
diff --git a/src/YouTubeDownloader.php b/src/YouTubeDownloader.php index <HASH>..<HASH> 100644 --- a/src/YouTubeDownloader.php +++ b/src/YouTubeDownloader.php @@ -226,6 +226,11 @@ class YouTubeDownloader // get JSON encoded parameters that appear on video pages $json = $this->getPlayerResponse($page_h...
alternative way of fetching player_response for such videos where that block does not appear on video page itself
Athlon1600_youtube-downloader
train
2bfe4f316378f1195b615cc3ebd3837591265c7b
diff --git a/legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.java b/legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.java index <HASH>..<HASH> 100644 --- a/legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.java +++ b/legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.ja...
WFLY-<I> Migrate connector fully qualified names
wildfly_wildfly
train
60ed5cc9dcdb1b499be65cde34f41a88d731531f
diff --git a/lib/coined.js b/lib/coined.js index <HASH>..<HASH> 100644 --- a/lib/coined.js +++ b/lib/coined.js @@ -207,6 +207,20 @@ function Coined(options) { this.createAccount(options); } + // Keep track of version, handle upgrades. + this.version = Coined.version; + this.previousVersion = '0.0.0'; + th...
comments. balance. version. `tx` handling.
chjj_coined
train
e37a058a7add15dbf15555ef3b81a20c2f4fc07c
diff --git a/spec/metro/models/models/label_spec.rb b/spec/metro/models/models/label_spec.rb index <HASH>..<HASH> 100644 --- a/spec/metro/models/models/label_spec.rb +++ b/spec/metro/models/models/label_spec.rb @@ -11,10 +11,10 @@ describe Metro::Models::Label do before do # Reset the position of the label to t...
FIX: Including units into the test suite to reduce namespacing units
burtlo_metro
train
3aaf16db51cdecc44186f8145cd4a198ea9d0b6c
diff --git a/libmachine/host/host.go b/libmachine/host/host.go index <HASH>..<HASH> 100644 --- a/libmachine/host/host.go +++ b/libmachine/host/host.go @@ -2,14 +2,13 @@ package host import ( "errors" - "fmt" "regexp" - "strings" "github.com/docker/machine/libmachine/auth" "github.com/docker/machine/libmach...
Use a typed error for consumers of libmachine
docker_machine
train
f51ad0a8a2c0dbae59bb435587a22934eeb3b886
diff --git a/pact/pact-runtime/src/test/java/eu/stratosphere/pact/runtime/resettable/SpillingResettableIteratorTest.java b/pact/pact-runtime/src/test/java/eu/stratosphere/pact/runtime/resettable/SpillingResettableIteratorTest.java index <HASH>..<HASH> 100644 --- a/pact/pact-runtime/src/test/java/eu/stratosphere/pact/ru...
- replaced constant value by already defined final static field in SpillingResettableIteratorTest
stratosphere_stratosphere
train
298cde5ba74cb86c2b3e7f63389bfbec846aeef5
diff --git a/openquake/commonlib/logictree.py b/openquake/commonlib/logictree.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/logictree.py +++ b/openquake/commonlib/logictree.py @@ -1555,12 +1555,13 @@ class GsimLogicTree(object): :param gsim_name: name of a GSIM class :param kwargs: keyword ...
Fixed logictree_test [skip hazardlib] Former-commit-id: <I>e<I>f<I>a<I>d<I>d<I>a<I>c<I>c<I>fd<I>f6b
gem_oq-engine
train
f7fed418a6cec7b760b5da1a38e5384155e06517
diff --git a/src/BaseBranchRepositoryEloquent.php b/src/BaseBranchRepositoryEloquent.php index <HASH>..<HASH> 100644 --- a/src/BaseBranchRepositoryEloquent.php +++ b/src/BaseBranchRepositoryEloquent.php @@ -45,13 +45,15 @@ class BaseBranchRepositoryEloquent extends BaseRepositoryEloquent implements Rep } /*...
Refactor create, use beforeSaveModel() method hook.
sedp-mis_base-repository
train
e28fc33700c431d383c2b2293525d89472c60c40
diff --git a/api/agent.go b/api/agent.go index <HASH>..<HASH> 100644 --- a/api/agent.go +++ b/api/agent.go @@ -10,7 +10,8 @@ type Agent struct { client *Client // Cache static agent info - nodeName string + nodeName string + datacenter string } // Agent returns a new agent which can be used to query @@ -45,...
api: datacenter is cached and queryable
hashicorp_nomad
train
b760c8744814e3586f947ec12ac982af68742a60
diff --git a/mpop/satin/aapp1b.py b/mpop/satin/aapp1b.py index <HASH>..<HASH> 100644 --- a/mpop/satin/aapp1b.py +++ b/mpop/satin/aapp1b.py @@ -97,7 +97,15 @@ def load_avhrr(satscene, options): if options["dir"] is None: filename = options["filename"] - else: + LOGGER.debug("Loading from " + fi...
Try loading according to config if provided file doesn't work, aapp1b.
pytroll_satpy
train
af62eed254406aa5bfe6005b2418f17f2684a219
diff --git a/ansuz.js b/ansuz.js index <HASH>..<HASH> 100644 --- a/ansuz.js +++ b/ansuz.js @@ -263,10 +263,9 @@ var exists = ansuz.exists = function (A,e){ }; var addIfAbsent = ansuz.addIfAbsent = function(A,e,f,n){ - /* test whether an element 'e' is in an array 'A' - if it is not, add it - a...
correct docString for 'addIfAbsent'
ansuz_ansuzjs
train
56354bb4d0085cb43a307bf9296de8d7415567e6
diff --git a/src/typeahead_view.js b/src/typeahead_view.js index <HASH>..<HASH> 100644 --- a/src/typeahead_view.js +++ b/src/typeahead_view.js @@ -239,7 +239,7 @@ var TypeaheadView = (function() { }, _autocomplete: function(e) { - var isCursorAtEnd, ignoreEvent, query, hint; + var isCursorAtEnd, i...
Change behavior of autocomplete. Closes #<I>.
twitter_typeahead.js
train
24246a4c2df3fa65f9dbcf29df267e4d6fd9c8f1
diff --git a/ninja-core/src/main/java/ninja/session/SessionCookieImpl.java b/ninja-core/src/main/java/ninja/session/SessionCookieImpl.java index <HASH>..<HASH> 100644 --- a/ninja-core/src/main/java/ninja/session/SessionCookieImpl.java +++ b/ninja-core/src/main/java/ninja/session/SessionCookieImpl.java @@ -216,9 +216,13...
Ensured cookie expiry is set in seconds on the cookie
ninjaframework_ninja
train
8ef300cce3550e8f2c27cd8fc299c598d5d65764
diff --git a/lib/veritas/algebra/rename.rb b/lib/veritas/algebra/rename.rb index <HASH>..<HASH> 100644 --- a/lib/veritas/algebra/rename.rb +++ b/lib/veritas/algebra/rename.rb @@ -14,9 +14,7 @@ module Veritas end def each(&block) - operand.each do |tuple| - yield Tuple.new(header, tuple.t...
Minor simplification of Rename#each
dkubb_axiom
train
a099bf4e16db46ca5f780ad9ae76f76cbe4b7561
diff --git a/src/ploneintranet/workspace/tests/test_robot.py b/src/ploneintranet/workspace/tests/test_robot.py index <HASH>..<HASH> 100644 --- a/src/ploneintranet/workspace/tests/test_robot.py +++ b/src/ploneintranet/workspace/tests/test_robot.py @@ -4,11 +4,16 @@ from plone.testing import layered import robotsuite i...
outcommenting robot tests temporarily, they will be moved to suite instead
ploneintranet_ploneintranet.workspace
train
5e737274ffd706d3882a5c34f8dbf155727434c0
diff --git a/src/Pdox.php b/src/Pdox.php index <HASH>..<HASH> 100644 --- a/src/Pdox.php +++ b/src/Pdox.php @@ -175,16 +175,16 @@ class Pdox return $this; } - public function where($where, $op = null, $val = null, $ao = 'AND') + public function where($where, $op = null, $val = null, $type = '', $and_or = 'AND') ...
Added notWhere functions and optimization library.
izniburak_pdox
train
a3460e445dd310dbefee993fe449f2ff9c08ae71
diff --git a/utils.go b/utils.go index <HASH>..<HASH> 100644 --- a/utils.go +++ b/utils.go @@ -12,7 +12,7 @@ type wildcard struct { } func (w wildcard) match(s string) bool { - return len(s) >= len(w.prefix+w.suffix) && strings.HasPrefix(s, w.prefix) && strings.HasSuffix(s, w.suffix) + return len(s) >= len(w.prefix...
improve performance of wildcard domain matching (#<I>) Instead of concatenating two strings to find their combined length, just add their lengths.
rs_cors
train
ebdc9ffccedb0d28783e4a79a12feba21a4d86b7
diff --git a/copy/copy.go b/copy/copy.go index <HASH>..<HASH> 100644 --- a/copy/copy.go +++ b/copy/copy.go @@ -157,10 +157,11 @@ func Image(ctx *types.SystemContext, policyContext *signature.PolicyContext, des } pendingImage := src - if !reflect.DeepEqual(manifestUpdates, types.ManifestUpdateOptions{}) { + if !re...
Add ManifestUpdateOptions.InformationOnly Manifest conversion will need a fair amount of information about the copied image and its layers. Start by providing the ImageDestination (to upload throwaway=empty_layer layers when converting to schema1), and BlobInfos of the uploaded layers (in particular, providing the la...
containers_image
train
393a4480c7530ad40bd0b20b0b16c4e2e7b76798
diff --git a/examples/aim/createTransactionRequest_partialAuth.php b/examples/aim/createTransactionRequest_partialAuth.php index <HASH>..<HASH> 100644 --- a/examples/aim/createTransactionRequest_partialAuth.php +++ b/examples/aim/createTransactionRequest_partialAuth.php @@ -223,17 +223,55 @@ try { </tr> ...
Improved example to show how more data is accessed
stymiee_authnetjson
train
66b2bc83ee6308c8eb31bdcfe519029f231a3f5e
diff --git a/src/CliConfig.php b/src/CliConfig.php index <HASH>..<HASH> 100644 --- a/src/CliConfig.php +++ b/src/CliConfig.php @@ -81,7 +81,7 @@ class CliConfig throw new \RuntimeException('Failed to read config file: ' . $filename); } - return Yaml::parse($contents); + return (arr...
Yaml::parse() lies about its return value being an array
platformsh_platformsh-cli
train
2e5baed90e674eee87b4a36c64512a2a9723bcf4
diff --git a/src/values/LinkValue.js b/src/values/LinkValue.js index <HASH>..<HASH> 100644 --- a/src/values/LinkValue.js +++ b/src/values/LinkValue.js @@ -139,6 +139,9 @@ class LinkValue extends Value { } + *toNumberValue() { return Value.fromNative((Number(this.native))); } + *toStringValue() { return Value.from...
Convert link values to numbers and strings by invoking the same transform to the native.
codecombat_esper.js
train
0c1e78612615cd622236c38115aa2735ee1587c1
diff --git a/docs/src/pages/docs/matching-days.js b/docs/src/pages/docs/matching-days.js index <HASH>..<HASH> 100644 --- a/docs/src/pages/docs/matching-days.js +++ b/docs/src/pages/docs/matching-days.js @@ -12,7 +12,7 @@ export default () => ( <p> With <em>modifiers</em> you change the aspect of the day cel...
Update matching-days.js
gpbl_react-day-picker
train
61a6ba5a1b47bb91f12dc3cc42a803d69bd447c4
diff --git a/src/Versionable/Prospect/Response/Response.php b/src/Versionable/Prospect/Response/Response.php index <HASH>..<HASH> 100644 --- a/src/Versionable/Prospect/Response/Response.php +++ b/src/Versionable/Prospect/Response/Response.php @@ -134,6 +134,12 @@ class Response implements ResponseInterface protect...
cURL automatically handles Proxy rewrites, remove the "HTTP/<I> <I> Connection established" string. We need to remove this string, otherwise the parsing of the response fails
versionable_Prospect
train
dec14a89fc17f0d53a7f45bdc726eac92f0b14b1
diff --git a/webapp/src/main/java/org/apache/hadoop/metadata/web/resources/MetadataDiscoveryResource.java b/webapp/src/main/java/org/apache/hadoop/metadata/web/resources/MetadataDiscoveryResource.java index <HASH>..<HASH> 100644 --- a/webapp/src/main/java/org/apache/hadoop/metadata/web/resources/MetadataDiscoveryResour...
Clenaed up direct vertex retrieval for relationships/lineage API. Added some additional logging. Added a requestId element to the returned JSON.
apache_incubator-atlas
train
a0ef117dd2182d89d253dad4dfb5271e234aa5ff
diff --git a/isochrones/isochrones.py b/isochrones/isochrones.py index <HASH>..<HASH> 100644 --- a/isochrones/isochrones.py +++ b/isochrones/isochrones.py @@ -114,7 +114,7 @@ class Isochrone(object): self.mag = {band:interpnd(self.tri,mags[band]) for band in self.bands} - def __call__(sel...
added bands keyword to isochrone __call__
timothydmorton_isochrones
train
fb2dac5f8d6238661531e6b36365e796ccceec15
diff --git a/lenstronomy/Workflow/parameters.py b/lenstronomy/Workflow/parameters.py index <HASH>..<HASH> 100644 --- a/lenstronomy/Workflow/parameters.py +++ b/lenstronomy/Workflow/parameters.py @@ -140,7 +140,6 @@ class Param(object): return kwargs_lens def _update_source(self, kwargs_lens_list, kwargs...
second try to not generate plots for travis-ci
sibirrer_lenstronomy
train
32dc99509fb63f8139b08c1376383441acfbe772
diff --git a/labm8/py/sqlutil.py b/labm8/py/sqlutil.py index <HASH>..<HASH> 100644 --- a/labm8/py/sqlutil.py +++ b/labm8/py/sqlutil.py @@ -1097,6 +1097,9 @@ class BufferedDatabaseWriter(threading.Thread): def _Flush(self): """Flush the buffer.""" + if not self._buffer: + return + with self.ctx.Pr...
Don't print profiling when there's nothing to flush.
ChrisCummins_labm8
train
2a74ad073c3281f88f663e51951d3abc6bd5183c
diff --git a/lib/winrm.rb b/lib/winrm.rb index <HASH>..<HASH> 100644 --- a/lib/winrm.rb +++ b/lib/winrm.rb @@ -21,8 +21,20 @@ require 'kconv' # rubyntlm .0.1.1 doesn't require kconv, workaround for issue #6 require 'logging' module WinRM - Logging.logger.root.level = :info - Logging.logger.root.appenders = Loggin...
Added WINRM_LOG env var logging setting This logging setting allows users to specify a WinRM specific log level from anywhere.
WinRb_WinRM
train
045250efcbffa0e0d6aafc09b451ff5c4b1c2cda
diff --git a/openfisca_core/holders.py b/openfisca_core/holders.py index <HASH>..<HASH> 100644 --- a/openfisca_core/holders.py +++ b/openfisca_core/holders.py @@ -236,15 +236,19 @@ class Holder(object): raise ValueError('Holder.compute_divide must be used on yearly variables. This is not the case for {}'.f...
Accept years in Holder.compute_divide
openfisca_openfisca-core
train
24d25b438b6f99b97e0a955989e78b3f544f6b2b
diff --git a/core/src/main/java/net/time4j/PlainTime.java b/core/src/main/java/net/time4j/PlainTime.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/net/time4j/PlainTime.java +++ b/core/src/main/java/net/time4j/PlainTime.java @@ -35,6 +35,7 @@ import net.time4j.engine.ElementRule; import net.time4j.engine.For...
improved handling of extreme values on TimeLine - affects sorting capabilities of intervals - PlainTime is normally rolling around midnight but this commit changes it for the TimeLine-aspect making sure that sorting remains valid
MenoData_Time4J
train
bec024df97a2763cd6ed1f5267d37cdaceb06c10
diff --git a/filters.py b/filters.py index <HASH>..<HASH> 100755 --- a/filters.py +++ b/filters.py @@ -79,7 +79,7 @@ def gaussian_pyramid(input_objective, imshape=None, normalization='SSE', n_level def GaussianKernel2D(ksize, sigma): if ksize % 2 != 1: - raise Exception('ksize should be an even number') ...
filters.py: typo fix (size should be an odd number, not an even one)
mattloper_opendr
train
7768fe41314a6becabb311767cc5a9746a81b9a5
diff --git a/tests/Keboola/Syrup/ClientTest.php b/tests/Keboola/Syrup/ClientTest.php index <HASH>..<HASH> 100644 --- a/tests/Keboola/Syrup/ClientTest.php +++ b/tests/Keboola/Syrup/ClientTest.php @@ -888,22 +888,27 @@ class ClientTest extends \PHPUnit_Framework_TestCase new Response( 200, ...
return full config in the mock response
keboola_syrup-php-client
train
cf951065974f5b40c2f7bbcf1f8dc1c91375e1a3
diff --git a/lib/Invoice.php b/lib/Invoice.php index <HASH>..<HASH> 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -8,6 +8,8 @@ namespace Stripe; * @property string $id * @property string $object * @property int $amount_due + * @property int $amount_paid + * @property int $amount_remaining * @property in...
Invoice missing amount_paid and amount_remaining properties
stripe_stripe-php
train
34ed632d1737bc939f0502029458011a3edc6f8b
diff --git a/lib/resque_unit.rb b/lib/resque_unit.rb index <HASH>..<HASH> 100644 --- a/lib/resque_unit.rb +++ b/lib/resque_unit.rb @@ -15,4 +15,6 @@ require 'resque_unit/assertions' require 'resque_unit/plugin' Test::Unit::TestCase.send(:include, ResqueUnit::Assertions) - +if defined?(MiniTest) + MiniTest::Unit::T...
minitest compatibility. autoload assertions in minitest if it is present. don't use assert_block
justinweiss_resque_unit
train
c208dbb3de4f5da94315d97cfff7b24a12f6ae42
diff --git a/src/light/bake.js b/src/light/bake.js index <HASH>..<HASH> 100644 --- a/src/light/bake.js +++ b/src/light/bake.js @@ -10,8 +10,8 @@ function bakeStage(stage) { // Optional bake parameters for API call var bakeSettings = { sunDirection: options.sunDirection || [ 0.75, -0.48, -0.46 ] } - if (o...
Refactoring for PR #<I>
archilogic-com_3dio-js
train
1a252ee82674b1aea86c4ad385310f87b914048e
diff --git a/photon/clusters.go b/photon/clusters.go index <HASH>..<HASH> 100644 --- a/photon/clusters.go +++ b/photon/clusters.go @@ -33,7 +33,7 @@ const ExtendedPropertyETCDIP1 string = "etcd_ip1" const ExtendedPropertyETCDIP2 string = "etcd_ip2" const ExtendedPropertyETCDIP3 string = "etcd_ip3" const ExtendedProp...
Rename CA_CERT to REGISTRY_CA_CERT in sdk The SDK use of Extended Property of ca_cert was used in Kubernetes. Thus, rename to registry_ca_certe Change-Id: Ia<I>dc<I>bd8f<I>ee<I>b<I>efe<I>ee0
vmware_photon-controller-go-sdk
train
307f0d4e09f0fedd34bc4fe6d355f295436a3481
diff --git a/bosh-dev/lib/bosh/dev/sandbox/services/director_service.rb b/bosh-dev/lib/bosh/dev/sandbox/services/director_service.rb index <HASH>..<HASH> 100644 --- a/bosh-dev/lib/bosh/dev/sandbox/services/director_service.rb +++ b/bosh-dev/lib/bosh/dev/sandbox/services/director_service.rb @@ -76,9 +76,7 @@ module Bosh...
Resolve RuboCop offense
cloudfoundry_bosh
train
ce8486b868d65dc03b48c4badcdf26689713c727
diff --git a/tooltipmenu.js b/tooltipmenu.js index <HASH>..<HASH> 100644 --- a/tooltipmenu.js +++ b/tooltipmenu.js @@ -105,11 +105,11 @@ class TooltipMenu { onContextMenu(e) { if (!this.pm.selection.empty) return let pos = this.pm.posAtCoords({left: e.clientX, top: e.clientY}) - if (!pos || !pos.isValid...
Fix outdated API use in tooltipmenu.js
ProseMirror_prosemirror-menu
train
4631680553f552b8c1473ff9066de3a5b6728887
diff --git a/lib/poolparty/net/remoter_base.rb b/lib/poolparty/net/remoter_base.rb index <HASH>..<HASH> 100644 --- a/lib/poolparty/net/remoter_base.rb +++ b/lib/poolparty/net/remoter_base.rb @@ -29,7 +29,7 @@ module PoolParty attr_reader :cloud def initialize(prnt, opts={}, &block) - dsl_op...
Merging parent options only if there is a parent in remoter_base Added launch_new_instance! in vmrun to include an option is passed
auser_poolparty
train
8ba4f1e03e1c9d118becce087b5460fbbd68fe4c
diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index <HASH>..<HASH> 100755 --- a/mod/scorm/lib.php +++ b/mod/scorm/lib.php @@ -47,6 +47,10 @@ function scorm_add_instance($scorm) { if (scorm_external_link($scorm->reference) || ((basename($scorm->reference) != 'imsmanifest.xml') && ($scorm->reference[0] != '...
MDL-<I> - clear scorm directory if it already exists
moodle_moodle
train
946e79de45fabb1ea2de27ebf40b699483315a57
diff --git a/theme/serenity/config.php b/theme/serenity/config.php index <HASH>..<HASH> 100644 --- a/theme/serenity/config.php +++ b/theme/serenity/config.php @@ -1,4 +1,26 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under ...
MDL-<I> theme_serenity: unified @package use and improved coding style
moodle_moodle
train
a8c9edd0ae99f911fe153d322f3f56f5705719f9
diff --git a/lib/FSi/Component/DataSource/Driver/Doctrine/DoctrineAbstractField.php b/lib/FSi/Component/DataSource/Driver/Doctrine/DoctrineAbstractField.php index <HASH>..<HASH> 100644 --- a/lib/FSi/Component/DataSource/Driver/Doctrine/DoctrineAbstractField.php +++ b/lib/FSi/Component/DataSource/Driver/Doctrine/Doctrin...
Added failing tests for comparison with 0 with fixes
fsi-open_datasource
train
941e0eb0ba1170fc1113f84ff613a74ef5b935b0
diff --git a/src/main/java/net/greghaines/jesque/Job.java b/src/main/java/net/greghaines/jesque/Job.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/greghaines/jesque/Job.java +++ b/src/main/java/net/greghaines/jesque/Job.java @@ -203,10 +203,21 @@ public class Job implements Serializable { } /** + ...
Make the unknown field accessors public
gresrun_jesque
train
656795ef222c4e367667aa230922e4d8ba2e7404
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,8 +1,58 @@ #!/usr/bin/env python -import re +import re, sys, os from setuptools import setup +def has_inotifyx(): + ok = False + try: + import inotifyx + ok = True + except: pass + return ok + +def has_developer_too...
include inotifyx on linux iff python-dev is available. added classifiers.
akfullfo_taskforce
train
e1bb066c03c62f998401e44449f85327d3dfc6e8
diff --git a/app/drivers/basedrivers.py b/app/drivers/basedrivers.py index <HASH>..<HASH> 100644 --- a/app/drivers/basedrivers.py +++ b/app/drivers/basedrivers.py @@ -25,10 +25,10 @@ class PycolatorDriver(object): return ns, static def get_all_peptides(self): - return readers.generate_peptides_mu...
Created single file based readers for pycolator and fixed the basereader for that too
glormph_msstitch
train
2786e185c7d4caa92eedf07ecc31cb9aa12a323b
diff --git a/test/qbwc/integration/job_management_test.rb b/test/qbwc/integration/job_management_test.rb index <HASH>..<HASH> 100644 --- a/test/qbwc/integration/job_management_test.rb +++ b/test/qbwc/integration/job_management_test.rb @@ -50,7 +50,7 @@ class JobManagementTest < ActionDispatch::IntegrationTest test...
Cleanup warnings: assigned but unused variable
qbwc_qbwc
train
0a989f64c99a61bbd49faf2be30ea3c946702c8c
diff --git a/README.markdown b/README.markdown index <HASH>..<HASH> 100644 --- a/README.markdown +++ b/README.markdown @@ -110,6 +110,13 @@ Sham also supports generating numbered sequences if you prefer. If you want to allow duplicate values for a sham, you can pass the `:unique` option: Sham.coin_toss(:unique ...
Cleaned up Ian White's Sham.define patch.
notahat_machinist
train
4957b75a4e080a119d8ff5e98e1c79b1cc738e09
diff --git a/alerta/app/auth.py b/alerta/app/auth.py index <HASH>..<HASH> 100644 --- a/alerta/app/auth.py +++ b/alerta/app/auth.py @@ -466,3 +466,12 @@ def gitlab(): token = create_token(profile['id'], profile.get('name', None) or '@'+login, login, provider='gitlab', customer=customer, ro...
Add userinfo endpoint for user claims
alerta_alerta
train
155c73ccfb84553522de696c4fd26fb7f4f767e4
diff --git a/src/main/java/com/turn/ttorrent/client/ConnectionHandler.java b/src/main/java/com/turn/ttorrent/client/ConnectionHandler.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/turn/ttorrent/client/ConnectionHandler.java +++ b/src/main/java/com/turn/ttorrent/client/ConnectionHandler.java @@ -309,8 +309,8 ...
Various code comment fixes to fix Javadoc warnings
mpetazzoni_ttorrent
train
d20181526b85f9bf52f4286306f5e26c54e4e8a6
diff --git a/gubernator/filters.py b/gubernator/filters.py index <HASH>..<HASH> 100644 --- a/gubernator/filters.py +++ b/gubernator/filters.py @@ -210,6 +210,8 @@ def do_tg_url(testgrid_query, test_name=''): def do_gcs_browse_url(gcs_path): + if not gcs_path.endswith('/'): + gcs_path += '/' return '...
Make sure gcsweb gcs path ends with / (#<I>)
kubernetes_test-infra
train
0390284ccdc5f3734d522afbb7bf9e6201dbc455
diff --git a/bucky/main.py b/bucky/main.py index <HASH>..<HASH> 100644 --- a/bucky/main.py +++ b/bucky/main.py @@ -166,7 +166,7 @@ def drop_privileges(user, group): gid = grp.getgrnam(group).gr_gid username = pwd.getpwuid(uid).pw_name - #groupname = grp.getgrgid(gid).gr_name + # groupname = grp.ge...
Small changes so that flake8 doesn't complain These two lines aren't recent but caused my build to fail.
trbs_bucky
train
29433d3cc12bed789be78d36b1f32392874550df
diff --git a/lib/rubocop/cop/style/special_global_vars.rb b/lib/rubocop/cop/style/special_global_vars.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/cop/style/special_global_vars.rb +++ b/lib/rubocop/cop/style/special_global_vars.rb @@ -160,17 +160,15 @@ module RuboCop end def format_message(engli...
Reduce ABC size of Style/SpecialGlobalVars
rubocop-hq_rubocop
train
878a4b3fdc289c077ededda33c65b4c7f80ffa3b
diff --git a/lib/core/config/options.rb b/lib/core/config/options.rb index <HASH>..<HASH> 100644 --- a/lib/core/config/options.rb +++ b/lib/core/config/options.rb @@ -27,6 +27,12 @@ class Options #--- + def self.all + @@options + end + + #--- + def self.get(contexts, force = true) options =...
Adding an all method to the config options class.
coralnexus_nucleon
train
3cab423ec92ca12beef7591f371ec15c19665670
diff --git a/commands/export_test.go b/commands/export_test.go index <HASH>..<HASH> 100644 --- a/commands/export_test.go +++ b/commands/export_test.go @@ -211,14 +211,12 @@ var _ = Describe("Export", func() { ca_name: /path/to/cert_ca certificate: some_cert private_key: private_key - metadata: {} - nam...
Omits empty metadata field when exporting credentials - this change is consistent with the behavior of `credhub get` - to fix "server does not support credential metadata" error when exporting creds from & importing back into an old version of credhub server that does not support metadata [#<I>] [Issue #<I>]
cloudfoundry-incubator_credhub-cli
train
2a0d8d6574d7ae5f0128eec601114c4d86fa4348
diff --git a/src/com/google/javascript/jscomp/AbstractMessageFormatter.java b/src/com/google/javascript/jscomp/AbstractMessageFormatter.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/AbstractMessageFormatter.java +++ b/src/com/google/javascript/jscomp/AbstractMessageFormatter.java @@ -54,9 +54,...
Make entire first line bold instead of just ERROR/WARNING text ------------- Created by MOE: <URL>
google_closure-compiler
train
765b7ff7820450d9f85e8b353da39772e9f666df
diff --git a/s2/cellunion_test.go b/s2/cellunion_test.go index <HASH>..<HASH> 100644 --- a/s2/cellunion_test.go +++ b/s2/cellunion_test.go @@ -17,7 +17,6 @@ limitations under the License. package s2 import ( - "math/rand" "reflect" "testing" ) @@ -206,10 +205,6 @@ func TestCellUnion(t *testing.T) { } } -f...
s2: Add some testing funcs for randomly performing tiny shifts in points.
golang_geo
train
746d04bae9ccd98df4cf69b206286228c644f5fd
diff --git a/lib/assets/javascripts/opal/error.rb b/lib/assets/javascripts/opal/error.rb index <HASH>..<HASH> 100644 --- a/lib/assets/javascripts/opal/error.rb +++ b/lib/assets/javascripts/opal/error.rb @@ -31,13 +31,13 @@ class Exception < `Error` alias to_s message end -StandardError = Exception -RuntimeError...
Exception subclasses in corelib should be real subclasses
opal_opal
train
5eaf7b7e23eb643a99e379c6b95222aa59d68a39
diff --git a/modules/admin/models/Group.php b/modules/admin/models/Group.php index <HASH>..<HASH> 100644 --- a/modules/admin/models/Group.php +++ b/modules/admin/models/Group.php @@ -33,23 +33,36 @@ class Group extends \admin\ngrest\base\Model public function scenarios() { return [ - 'rest...
added users checkbox relation for admin_group model
luyadev_luya
train
c5cb472ba01a570d2c99a6363473600a3f34905b
diff --git a/annotations/builder/src/main/java/io/sundr/builder/internal/functions/ToPojo.java b/annotations/builder/src/main/java/io/sundr/builder/internal/functions/ToPojo.java index <HASH>..<HASH> 100644 --- a/annotations/builder/src/main/java/io/sundr/builder/internal/functions/ToPojo.java +++ b/annotations/builder...
fix: Adapter methods now retain DEFAULT_VALUE of inherited fields.
sundrio_sundrio
train
e0948a4d24ee99d78c4ed5f6dbe8609b36342e93
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1 +1 @@ -refresh_files = True \ No newline at end of file +refresh_files = False \ No newline at end of file
Set the test refresh_files variable to false SHould never commit at True
biolink_biolink-model
train
9678908e491fd637f90a09b831decbfbb7cd58a1
diff --git a/lib/podio/areas/news.rb b/lib/podio/areas/news.rb index <HASH>..<HASH> 100644 --- a/lib/podio/areas/news.rb +++ b/lib/podio/areas/news.rb @@ -9,7 +9,13 @@ module Podio def get_news_redirect(news_id) Podio.connection.get("/news/#{news_id}/redirect").body + end + def unsubscribe_entry(news_id) +...
Add unsubscribe for news method to library
podio_podio-rb
train
30ca2d8c51f7515a9745ef1104f46ff38be21c48
diff --git a/seqcluster/libs/tool.py b/seqcluster/libs/tool.py index <HASH>..<HASH> 100644 --- a/seqcluster/libs/tool.py +++ b/seqcluster/libs/tool.py @@ -768,6 +768,6 @@ def _normalize_seqs(s, t): """Normalize to RPM""" for ids in s: obj = s[ids] - [obj.norm_freq.update({sample: 1.0 * obj.fre...
add pseudocount in case sample has 0 reads
lpantano_seqcluster
train
38380bf76f44e462b620d5788754d754fc915cdf
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,7 +17,8 @@ gulp.task('static', function () { return gulp.src([ '**/*.js', '!node_modules/**', - '!coverage/**' + '!coverage/**', + '!test/input/**' ]) .pipe(jshint('.js...
do not try to test input js files
burnedikt_gulp-scripts-index
train
2993409c1016fe412024d1592de1b04480539b42
diff --git a/src/components/NumberInput/NumberInput-test.js b/src/components/NumberInput/NumberInput-test.js index <HASH>..<HASH> 100644 --- a/src/components/NumberInput/NumberInput-test.js +++ b/src/components/NumberInput/NumberInput-test.js @@ -103,6 +103,9 @@ describe('NumberInput', () => { expect(wrapper.f...
Fix number input controls misalignment (#<I>) * fix(number-input): Add "bx--number--nolabel" class when label is hidden * fix(number-input): Update NumberInput unit test for nolabel class
carbon-design-system_carbon-components
train
d6cceb8913b4c0164a9a8d28c714a3737cd779e0
diff --git a/Spryker/Sniffs/Commenting/FullyQualifiedClassNameInDocBlockSniff.php b/Spryker/Sniffs/Commenting/FullyQualifiedClassNameInDocBlockSniff.php index <HASH>..<HASH> 100644 --- a/Spryker/Sniffs/Commenting/FullyQualifiedClassNameInDocBlockSniff.php +++ b/Spryker/Sniffs/Commenting/FullyQualifiedClassNameInDocBloc...
Remove false positive error for release app.
spryker_code-sniffer
train
637ffd247b4b3692a6aa08c93236f4a6f8ee5679
diff --git a/src/server/worker/api_server.go b/src/server/worker/api_server.go index <HASH>..<HASH> 100644 --- a/src/server/worker/api_server.go +++ b/src/server/worker/api_server.go @@ -1208,6 +1208,13 @@ func (a *APIServer) processDatums(ctx context.Context, logger *taggedLogger, job atomic.AddUint64(&subStats.D...
Exit retry loop if job timeout in effect
pachyderm_pachyderm
train
7e54bfa3a3f106590acc22fdcffac4ef8274ae1e
diff --git a/lib/solargraph/language_server/host.rb b/lib/solargraph/language_server/host.rb index <HASH>..<HASH> 100644 --- a/lib/solargraph/language_server/host.rb +++ b/lib/solargraph/language_server/host.rb @@ -19,7 +19,7 @@ module Solargraph 'debug' => Logger::DEBUG } - DEFAULT_LOG_LEVEL = L...
Default log level is WARN.
castwide_solargraph
train
34a32a602f028c280c326ce00a7e50cccacb9a19
diff --git a/Kwf/Util/Maintenance/Dispatcher.php b/Kwf/Util/Maintenance/Dispatcher.php index <HASH>..<HASH> 100644 --- a/Kwf/Util/Maintenance/Dispatcher.php +++ b/Kwf/Util/Maintenance/Dispatcher.php @@ -67,8 +67,8 @@ class Kwf_Util_Maintenance_Dispatcher if ($debug) $cmd .= " --debug"; $process = ne...
Show maintenance-job run-job output for when running without debug flag
koala-framework_koala-framework
train
f936931dc0521ac838fc5f3d045ee14d2cc68910
diff --git a/wechatsogou/__init__.py b/wechatsogou/__init__.py index <HASH>..<HASH> 100644 --- a/wechatsogou/__init__.py +++ b/wechatsogou/__init__.py @@ -31,7 +31,7 @@ __all__ = [ 'WechatSogouRequestsException'] __title__ = 'wechatsogou' -__version__ = "4.5.1" +__version__ = "4.5.2" __author__ = 'Chyroc' "...
release/<I> (#<I>)
Chyroc_WechatSogou
train
e8969cb7a0140d8b350c036cc224d04f167f8cdf
diff --git a/test/test_execute.py b/test/test_execute.py index <HASH>..<HASH> 100644 --- a/test/test_execute.py +++ b/test/test_execute.py @@ -740,7 +740,6 @@ for i in range(4): # shutil.rmtree('temp') - @unittest.skipIf(sys.platform == 'win32', 'Temporarily disable this test under windows #895')...
Check if touch is causing the problem
vatlab_SoS
train
948e549900ee9d788c37d87ae5964881419bb0c8
diff --git a/upload/admin/model/catalog/filter.php b/upload/admin/model/catalog/filter.php index <HASH>..<HASH> 100644 --- a/upload/admin/model/catalog/filter.php +++ b/upload/admin/model/catalog/filter.php @@ -147,7 +147,7 @@ class ModelCatalogFilter extends Model { } public function getFilters($data) { - $sql...
Product filter doesn't work with multiple languages
opencart_opencart
train
b9e667fad1b6c026b84618866a7200684071a6a3
diff --git a/tests/PHPUnit/UITest.php b/tests/PHPUnit/UITest.php index <HASH>..<HASH> 100644 --- a/tests/PHPUnit/UITest.php +++ b/tests/PHPUnit/UITest.php @@ -49,7 +49,7 @@ abstract class UITest extends IntegrationTestCase parent::setUpBeforeClass(); DbHelper::createAnonymousUser(); - UsersMa...
refs #<I> password has to be at least 6 characters
matomo-org_matomo
train
4b02d54b7555c662bbfa3198c600fb2801edddab
diff --git a/gather/recorder.go b/gather/recorder.go index <HASH>..<HASH> 100644 --- a/gather/recorder.go +++ b/gather/recorder.go @@ -21,7 +21,7 @@ func (s PointWriter) Record(collected MetricsCollection) error { return err } - return s.Writer.WritePoints(context.TODO(), 0, 0, ps) + return s.Writer.WritePoints(...
fix: Ensure orgID and bucketID are passed to WritePoints API Fixes #<I>
influxdata_influxdb
train
0d6675024514c449ddb2f896ee2344129adc6ea8
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -113,8 +113,10 @@ function parseForwardedForAlt(forwardedForAlt) { var forwardedIps = forwardedForAlt.split(','); // Sometimes IP addresses in this header can be 'unknown' (http://stackoverflow.com/a/11285650). ...
Add tests for "unknown" ip address in X-Forwarded-For header
pbojinov_request-ip
train
2b3c0a922ecd548a9a469d9a59e85f1d1a6646e9
diff --git a/src/ExcelServiceProvider.php b/src/ExcelServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/ExcelServiceProvider.php +++ b/src/ExcelServiceProvider.php @@ -45,13 +45,8 @@ class ExcelServiceProvider extends ServiceProvider $this->app->alias('excel', Excel::class); - Collection::mac...
Use mixins instead of macros
Maatwebsite_Laravel-Excel
train
5f5eaf00ee3ea8d0ec4613c87a0b120da7cf1d0e
diff --git a/teamcity/pylint_reporter.py b/teamcity/pylint_reporter.py index <HASH>..<HASH> 100644 --- a/teamcity/pylint_reporter.py +++ b/teamcity/pylint_reporter.py @@ -20,9 +20,9 @@ TC_SEVERITY = { def get_message_description(linter, msgid): - if pylint_numversion <= (1, 9): + if pylint_numversion < (2, 0...
pylint: fix compatibility conditions
JetBrains_teamcity-messages
train
eebb96e5dab6d02f3205d59da2bb09b7a423e5d7
diff --git a/theme/chameleon/ui/chameleon_js.php b/theme/chameleon/ui/chameleon_js.php index <HASH>..<HASH> 100644 --- a/theme/chameleon/ui/chameleon_js.php +++ b/theme/chameleon/ui/chameleon_js.php @@ -40,7 +40,7 @@ String.prototype.trim = function() { var Config = { THEME_ROOT: '<?php echo $ch...
MDL-<I> Permanent Message "Chameleon is loading..."
moodle_moodle
train
5d0131e65f14d0507a02aa12e1f4d6b72f3956f3
diff --git a/lib/searchkick/query.rb b/lib/searchkick/query.rb index <HASH>..<HASH> 100644 --- a/lib/searchkick/query.rb +++ b/lib/searchkick/query.rb @@ -98,7 +98,7 @@ module Searchkick # no easy way to tell which host the client will use host = Searchkick.client.transport.hosts.first credentials ...
Updated curl command for ES6 [skip ci]
ankane_searchkick
train
2faba7aa1d5dd73d8466e9ff054ee954bd427a9d
diff --git a/cirq-ionq/cirq_ionq/ionq_devices.py b/cirq-ionq/cirq_ionq/ionq_devices.py index <HASH>..<HASH> 100644 --- a/cirq-ionq/cirq_ionq/ionq_devices.py +++ b/cirq-ionq/cirq_ionq/ionq_devices.py @@ -15,8 +15,6 @@ from typing import AbstractSet, Sequence, Union -import numpy as np - import cirq @@ -103,19 ...
Update Cirq decomposition to use RZ, RX, CNOT only (#<I>) * Update Cirq decomposition to use RZ, RX, CNOT only * Validate that decomposed gates match expected gateset
quantumlib_Cirq
train
5df90d6900bba0ac1af5242a691f2abcf7fcad93
diff --git a/source/crd.go b/source/crd.go index <HASH>..<HASH> 100644 --- a/source/crd.go +++ b/source/crd.go @@ -117,7 +117,14 @@ func (cs *crdSource) Endpoints() ([]*endpoint.Endpoint, error) { } for _, dnsEndpoint := range result.Items { - endpoints = append(endpoints, dnsEndpoint.Spec.Endpoints...) + // Ma...
Add crd check for empty targets.
kubernetes-incubator_external-dns
train