hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
7d32b7f4b3b84470523fcf610a359fde40a90691
diff --git a/packer/plugin/client.go b/packer/plugin/client.go index <HASH>..<HASH> 100644 --- a/packer/plugin/client.go +++ b/packer/plugin/client.go @@ -252,7 +252,7 @@ func (c *Client) Start() (address string, err error) { timeout := time.After(c.config.StartTimeout) // Start looking for the address - log.Prin...
packer/plugin: Println should be Printf
hashicorp_packer
train
c6ab332cde70081605fdb8a4e78cc75f808dfc38
diff --git a/lightadmin-demo/src/main/java/org/lightadmin/demo/config/ProductAdministration.java b/lightadmin-demo/src/main/java/org/lightadmin/demo/config/ProductAdministration.java index <HASH>..<HASH> 100644 --- a/lightadmin-demo/src/main/java/org/lightadmin/demo/config/ProductAdministration.java +++ b/lightadmin-de...
#<I> Quick adding of linked domain entities from reference owner's FormView
la-team_light-admin
train
48897fc17a2b1d8dfb646941e22f73fcc24f0714
diff --git a/brokerintegration/backup_test.go b/brokerintegration/backup_test.go index <HASH>..<HASH> 100644 --- a/brokerintegration/backup_test.go +++ b/brokerintegration/backup_test.go @@ -22,7 +22,6 @@ import ( var _ = Describe("backups", func() { var ( instanceIDs = []string{"foo", "bar"} - keysToWrite int ...
always write the same amount of backup test data
pivotal-cf_cf-redis-broker
train
d1e2baee2f34f5348e85ab33d8eb5ca4c7e1518c
diff --git a/node-red-contrib-api-ai/server-api-ai.js b/node-red-contrib-api-ai/server-api-ai.js index <HASH>..<HASH> 100644 --- a/node-red-contrib-api-ai/server-api-ai.js +++ b/node-red-contrib-api-ai/server-api-ai.js @@ -330,7 +330,7 @@ const getGoogleMessage = exports.getGoogleMessage = (replies, context) => { ...
fix sign in in flow (still not working but better)
NGRP_node-red-contrib-viseo
train
887c702cfe01492e3e15c296bbbbbb7792dbe381
diff --git a/gsonpath-compiler-tests/src/test/resources/generator/standard/field_types/primitives/valid/TestValidPrimitives.java b/gsonpath-compiler-tests/src/test/resources/generator/standard/field_types/primitives/valid/TestValidPrimitives.java index <HASH>..<HASH> 100644 --- a/gsonpath-compiler-tests/src/test/resour...
Issue #<I> Added tests for all primitive types
LachlanMcKee_gsonpath
train
654461d07278bb74b24a5d0b61045f3a2aae025a
diff --git a/story/adventures.py b/story/adventures.py index <HASH>..<HASH> 100644 --- a/story/adventures.py +++ b/story/adventures.py @@ -40,15 +40,13 @@ class BaseAdventure(object): @property def problem(self): - problem = 'Adventure description not found.' for file in self.files: ...
The text if formatted again later in problem_formatted(), so don't format it here.
pyschool_story
train
082b312769489aa64643225ed9ed9969d330a126
diff --git a/src/GitHub_Updater/API.php b/src/GitHub_Updater/API.php index <HASH>..<HASH> 100644 --- a/src/GitHub_Updater/API.php +++ b/src/GitHub_Updater/API.php @@ -526,6 +526,8 @@ abstract class API extends Base { */ private function get_credentials( $url ) { $headers = parse_url( $url ); + $type ...
fix get_credentials() as $this->type not always present
afragen_github-updater
train
b83ae3e3834c6bc22168efd295d6d52163487d29
diff --git a/routing/multiple_app_ports_test.go b/routing/multiple_app_ports_test.go index <HASH>..<HASH> 100644 --- a/routing/multiple_app_ports_test.go +++ b/routing/multiple_app_ports_test.go @@ -23,7 +23,7 @@ var _ = Describe(deaUnsupportedTag+"Multiple App Ports", func() { PushAppNoStart(app, latticeAppAsset,...
Use longer timeout for routing test * Staging an app can easily take more than 1 minute
cloudfoundry_cf-acceptance-tests
train
64b3bb0ebe34fb80d86b1f52f9f327c0e0fac81e
diff --git a/generators/server/templates/src/main/java/package/config/_CacheConfiguration.java b/generators/server/templates/src/main/java/package/config/_CacheConfiguration.java index <HASH>..<HASH> 100644 --- a/generators/server/templates/src/main/java/package/config/_CacheConfiguration.java +++ b/generators/server/t...
Do not use Hibernate L2 cache configuration when Hibernate is not configured
jhipster_generator-jhipster
train
e4fb00a3c9fc44c5e553b0161ff77401db7141a9
diff --git a/includes/class-freemius.php b/includes/class-freemius.php index <HASH>..<HASH> 100644 --- a/includes/class-freemius.php +++ b/includes/class-freemius.php @@ -6290,7 +6290,7 @@ * @param string|bool $email * @param string|bool $first * @param string|bool $last - * @param string|bool $license_se...
[opt-in] [connect] If activating with license key, ignore the context-user since the user will be automatically loaded from the license.
Freemius_wordpress-sdk
train
2b8688b69339b380c2ccd407db36ad7a401b08e0
diff --git a/examples/normal_variance_analysis.py b/examples/normal_variance_analysis.py index <HASH>..<HASH> 100644 --- a/examples/normal_variance_analysis.py +++ b/examples/normal_variance_analysis.py @@ -1,8 +1,36 @@ +import lim -var = lim.genetics.variance.normal_decomposition(y, X, [G0, G1, G2]) -var = lim.genet...
pre lmm multiple covariances
limix_lim
train
9bb3292ce4979b088d76780600d4f31855a1228e
diff --git a/handler.go b/handler.go index <HASH>..<HASH> 100644 --- a/handler.go +++ b/handler.go @@ -5,6 +5,7 @@ import ( "context" "fmt" "io" + "io/ioutil" "log" "net" "net/http" @@ -41,6 +42,9 @@ func (h *httpHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { h.handler.Serve(ctx, r.Body, &...
Always consume the input buffer After calling the user's function consume any remaining input and close the request body reader.
fnproject_fdk-go
train
2319a11d0c5e1eba000d8102fc68173e9b6f5bb7
diff --git a/packages/desktop-gui/cypress/integration/specs_list_spec.js b/packages/desktop-gui/cypress/integration/specs_list_spec.js index <HASH>..<HASH> 100644 --- a/packages/desktop-gui/cypress/integration/specs_list_spec.js +++ b/packages/desktop-gui/cypress/integration/specs_list_spec.js @@ -454,6 +454,33 @@ desc...
Fix retrieving saved filter when project has no id (#<I>) * fix retrieving saved filter when project has no id * fix yarn.lock
cypress-io_cypress
train
74a3d3ff151a08ddfd5238d6a4508984371e7c27
diff --git a/lib/money-rails/active_model/validator.rb b/lib/money-rails/active_model/validator.rb index <HASH>..<HASH> 100644 --- a/lib/money-rails/active_model/validator.rb +++ b/lib/money-rails/active_model/validator.rb @@ -29,6 +29,7 @@ module MoneyRails @raw_value = @raw_value.to_s.strip.gsub(symbol, ""...
Extended validator to reject string values where a thousand separator appears after the decimal mark.
RubyMoney_money-rails
train
abada27d23b37be466c4f4f6f1e8206983d35d07
diff --git a/src/Animated.js b/src/Animated.js index <HASH>..<HASH> 100644 --- a/src/Animated.js +++ b/src/Animated.js @@ -76,8 +76,8 @@ export { AnimatedNode as Node, // animations - decay: decayWrapper, - timing: timingWrapper, - spring: springWrapper, + decayWrapper as decay, + timingWrapper as timing, ...
Fix: CI 💚 (#<I>)
kmagiera_react-native-reanimated
train
a85773b99f2076b0990f2d8a762320b9627ff094
diff --git a/lib/sonos/device/base.rb b/lib/sonos/device/base.rb index <HASH>..<HASH> 100644 --- a/lib/sonos/device/base.rb +++ b/lib/sonos/device/base.rb @@ -4,7 +4,7 @@ require 'nokogiri' module Sonos::Device class Base attr_reader :ip, :name, :uid, :serial_number, :software_version, :hardware_version, - ...
Grab available services per device and improve speaker detection This should solve issues with stereo pairs, SUB setups, and surround speakers for the PLAYBAR.
gotwalt_sonos
train
f3c79e9cb5e14b25a163b199bf38961b68ebb544
diff --git a/tools/compute_font_weight_and_width.py b/tools/compute_font_weight_and_width.py index <HASH>..<HASH> 100755 --- a/tools/compute_font_weight_and_width.py +++ b/tools/compute_font_weight_and_width.py @@ -14,30 +14,18 @@ # See the License for the specific language governing permissions and # limitations und...
compare: improve docs, show help
googlefonts_fontbakery
train
aeb8a5c5d6f102cea16c0bd5ab7fd2f9d3f4a203
diff --git a/pecan/tests/test_conf.py b/pecan/tests/test_conf.py index <HASH>..<HASH> 100644 --- a/pecan/tests/test_conf.py +++ b/pecan/tests/test_conf.py @@ -3,6 +3,8 @@ import sys from pecan.tests import PecanTestCase +from mock import patch + __here__ = os.path.dirname(__file__) @@ -294,7 +296,6 @@ class T...
Improved test cleanup for environment-variable-based configuration.
pecan_pecan
train
e82e8e232b2083656a0b0351d799a15501e70ec3
diff --git a/GoogleMaps.php b/GoogleMaps.php index <HASH>..<HASH> 100644 --- a/GoogleMaps.php +++ b/GoogleMaps.php @@ -252,6 +252,9 @@ final class GoogleMaps extends AbstractHttpProvider implements LocaleAwareGeocod if (isset($result->geometry->location_type)) { $address->setLocationType($...
Added result type to google location (#<I>)
geocoder-php_google-maps-provider
train
878639e85827aa25688e9c4ef1511d393549dcfa
diff --git a/lib/mqtt/client.rb b/lib/mqtt/client.rb index <HASH>..<HASH> 100644 --- a/lib/mqtt/client.rb +++ b/lib/mqtt/client.rb @@ -545,6 +545,8 @@ module MQTT def next_packet_id @last_packet_id = (@last_packet_id || 0).next + @last_packet_id = 1 if @last_packet_id > 0xffff + @last_packet_id ...
Wrap packet id after 0xffff (#<I>)
njh_ruby-mqtt
train
cc599f3cf4604a942a2f2d545a10ae018c84a074
diff --git a/MongoSession.php b/MongoSession.php index <HASH>..<HASH> 100644 --- a/MongoSession.php +++ b/MongoSession.php @@ -316,8 +316,8 @@ class MongoSession //duplicate key may occur during lock race continue; } catch (MongoCursorException $e) { - if($e->getCode() == 110...
added additional potential exception codes for duplicate key
nicktacular_php-mongo-session
train
7ff03f021a180314befc09429b74e23e0191d9ef
diff --git a/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php b/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php +++ b/eZ/Publish/Core/MVC/Symfony/Routing/UrlAliasRouter.php @@ -119,6 +119,18 @@ class UrlAliasRouter imp...
Enable UrlAliasRouter::matchRequest() to redirect history path to current path
ezsystems_ezpublish-kernel
train
30ceb980788a07aba14883438d4dafdaf150059e
diff --git a/src/Pixie/QueryBuilder/QueryBuilderHandler.php b/src/Pixie/QueryBuilder/QueryBuilderHandler.php index <HASH>..<HASH> 100644 --- a/src/Pixie/QueryBuilder/QueryBuilderHandler.php +++ b/src/Pixie/QueryBuilder/QueryBuilderHandler.php @@ -218,6 +218,7 @@ class QueryBuilderHandler // Get the current sta...
Fix sql error when COUNT and ORDER BY are used
skipperbent_pecee-pixie
train
64d803a575237eadb98b10ea5c5bead838b3ad32
diff --git a/src/main/java/reactor/ipc/netty/channel/ChannelOperations.java b/src/main/java/reactor/ipc/netty/channel/ChannelOperations.java index <HASH>..<HASH> 100644 --- a/src/main/java/reactor/ipc/netty/channel/ChannelOperations.java +++ b/src/main/java/reactor/ipc/netty/channel/ChannelOperations.java @@ -264,7 +26...
On channelInactive event, do not fire error when the inbound has been already cancelled/disposed.
reactor_reactor-netty
train
f8a31c1e6071e16efac7f52c98fe5627d7598547
diff --git a/change-log.md b/change-log.md index <HASH>..<HASH> 100644 --- a/change-log.md +++ b/change-log.md @@ -8,6 +8,9 @@ ##Change Log +###v5.5.10 + - Fix casting specific to stdClass only. Fix #114. + ###v5.5.9 - Fix ordering of collection when data is stdClass. diff --git a/src/yajra/Datatables/E...
fix casting specific to stdClass only. fix #<I>
yajra_laravel-datatables
train
2de66c623cde4ae04702c756c07bf05478b435c5
diff --git a/lib/music/note.rb b/lib/music/note.rb index <HASH>..<HASH> 100644 --- a/lib/music/note.rb +++ b/lib/music/note.rb @@ -26,7 +26,7 @@ module Music end # Returns string representing note with letter, accidental, and octave number - # e.g. C#5 + # e.g. 'C#5' # # @params [boolean] gi...
Add another bit of documentation now that post-commit hook URL is in place
cheerfulstoic_music
train
63ea565a13f7b5c1850d86e1b9e6e96734f512f7
diff --git a/core-bundle/contao/drivers/DC_Folder.php b/core-bundle/contao/drivers/DC_Folder.php index <HASH>..<HASH> 100644 --- a/core-bundle/contao/drivers/DC_Folder.php +++ b/core-bundle/contao/drivers/DC_Folder.php @@ -309,7 +309,7 @@ class DC_Folder extends \DataContainer implements \listable, \editable <div id="...
[Core] Show an error message instead of throwing an Exception if the file system and the database are out of sync (see #<I>)
contao_contao
train
9937889a4dbfa55253d55bdf83198555e4608760
diff --git a/core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/steps/StepPluginAdapter.java b/core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/steps/StepPluginAdapter.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/dtolabs/rundeck/core/execution/workflow/steps/StepPluginAdapter....
bugfix: Workflow step plugin failure reason should be passed on
rundeck_rundeck
train
ae29096b5b100994d4b015a3a76ba701d3b4b019
diff --git a/course/tests/courselib_test.php b/course/tests/courselib_test.php index <HASH>..<HASH> 100644 --- a/course/tests/courselib_test.php +++ b/course/tests/courselib_test.php @@ -1569,9 +1569,14 @@ class core_course_courselib_testcase extends advanced_testcase { $this->assertSame($course->idnumber, $ev...
MDL-<I> unittest correction since snapshot is not a reference to object any more.
moodle_moodle
train
2bda2a0df0e26823ad56b57e827e0af67d48837a
diff --git a/admin/views/_components/csv/dbResult.php b/admin/views/_components/csv/dbResult.php index <HASH>..<HASH> 100644 --- a/admin/views/_components/csv/dbResult.php +++ b/admin/views/_components/csv/dbResult.php @@ -16,7 +16,7 @@ if (!empty($bHeader)) { // -------------------------------------------------------...
Using `unbuffered_row` instead of `_fetch_object`
nails_module-admin
train
a216f2f84398b122c8e5cfe53dbfb9b62a9acc8f
diff --git a/rapidoid-app/src/main/java/org/rapidoid/app/Apps.java b/rapidoid-app/src/main/java/org/rapidoid/app/Apps.java index <HASH>..<HASH> 100644 --- a/rapidoid-app/src/main/java/org/rapidoid/app/Apps.java +++ b/rapidoid-app/src/main/java/org/rapidoid/app/Apps.java @@ -36,6 +36,8 @@ import org.rapidoid.oauth.OAuth...
Refactored and added app termination utils.
rapidoid_rapidoid
train
6614fe116eb7d4d4de106aaee4d17248522adbaf
diff --git a/sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js b/sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js index <HASH>..<HASH> 100644 --- a/sip-servlets-examples/websocket-b2bua/src/main/...
Update Issue <I> Fixing Chrome to Firefox interop as DTLS is not implemented in chrome yet
RestComm_sip-servlets
train
f65cfaa0fc598ef9b7c669c3feac1f419684f802
diff --git a/lib/AktiveMerchant/Billing/Gateways/Eway.php b/lib/AktiveMerchant/Billing/Gateways/Eway.php index <HASH>..<HASH> 100644 --- a/lib/AktiveMerchant/Billing/Gateways/Eway.php +++ b/lib/AktiveMerchant/Billing/Gateways/Eway.php @@ -8,6 +8,7 @@ use AktiveMerchant\Billing\Interfaces as Interfaces; use AktiveMerch...
Allow eway to use capture and improeve it's use of the testing gateway
akDeveloper_Aktive-Merchant
train
8da13ed74aac841268e7fdaae702ed5b524a114a
diff --git a/service/discovery.go b/service/discovery.go index <HASH>..<HASH> 100644 --- a/service/discovery.go +++ b/service/discovery.go @@ -232,7 +232,7 @@ EOF`[1:], filename, DiscoverInitSystemScript), } } -const caseLine = "%sif [[ $%s == %q ]]; then %s\n" +const caseLine = "%sif [[ $%s == \"%s\" ]]; then %s\...
Do not use %q for quoting.
juju_juju
train
3a3f960fca9e3072cbda26d23baeb70c85e83e90
diff --git a/commerce-product-service/src/main/java/com/liferay/commerce/product/model/impl/CPDefinitionImpl.java b/commerce-product-service/src/main/java/com/liferay/commerce/product/model/impl/CPDefinitionImpl.java index <HASH>..<HASH> 100644 --- a/commerce-product-service/src/main/java/com/liferay/commerce/product/m...
COMMERCE-<I> Refactor commerce product definition implementation
liferay_com-liferay-commerce
train
05f1fbb31f57eece664ffc20059a216486adcfe2
diff --git a/test/unit/Base/ControllerTest.py b/test/unit/Base/ControllerTest.py index <HASH>..<HASH> 100644 --- a/test/unit/Base/ControllerTest.py +++ b/test/unit/Base/ControllerTest.py @@ -97,10 +97,10 @@ class WorkspaceTest: return a + b net = OpenPNM.Network.Cubic(shape=[10, 10, 10]) ...
changing controller to workspace in unit test file...must've been a merge conflict error
PMEAL_OpenPNM
train
1989bddfb240bab92b19be55b8c58bc19d5459ad
diff --git a/gulp/release.gulp.js b/gulp/release.gulp.js index <HASH>..<HASH> 100644 --- a/gulp/release.gulp.js +++ b/gulp/release.gulp.js @@ -3,7 +3,7 @@ 'use strict'; var gulp = require('gulp'), - release = require('./index.js'); + release = require('../index.js'); gulp.task('prerelease', ['build'], func...
Pointing to the correct index.js location
Nykredit_gulp-release
train
efbd82732deb3da5239c095af49dfbe33b395857
diff --git a/ember-cli-build.js b/ember-cli-build.js index <HASH>..<HASH> 100644 --- a/ember-cli-build.js +++ b/ember-cli-build.js @@ -215,13 +215,11 @@ module.exports = function() { containerES5, emberUtilsES5, emberEnvironmentES5, - emberMetalES5, emberConsoleES5, emberTemplate...
Remove ember-metal and backburner from ember-template-compiler bundle.
emberjs_ember.js
train
7d5987742a29bf829dcc453592363616aec93424
diff --git a/graphene/contrib/django/fields.py b/graphene/contrib/django/fields.py index <HASH>..<HASH> 100644 --- a/graphene/contrib/django/fields.py +++ b/graphene/contrib/django/fields.py @@ -4,9 +4,7 @@ from graphene.core.fields import ( from graphene import relay from graphene.core.fields import Field, LazyFie...
Get rid of memoize in all field definitions. Improved #<I>
graphql-python_graphene
train
7b0ffa5f835e45007ff1969adfa89fa2c3caf399
diff --git a/pkg/policy/api/rule_validation.go b/pkg/policy/api/rule_validation.go index <HASH>..<HASH> 100644 --- a/pkg/policy/api/rule_validation.go +++ b/pkg/policy/api/rule_validation.go @@ -131,7 +131,7 @@ func (e *EgressRule) sanitize() error { "ToCIDRSet": true, "ToEndpoints": true, "ToEntities": tru...
pkg/policy/api: allow ToPorts coupled with ToServices This functionality is supported in the datapath, because Cilium now supports CIDR-dependent L4, and ToServices rules are translated into CIDR rules within Cilium.
cilium_cilium
train
0244b30043fed60bf82d5d1d5f0c8807bb71d71d
diff --git a/perceval/backends/gerrit.py b/perceval/backends/gerrit.py index <HASH>..<HASH> 100644 --- a/perceval/backends/gerrit.py +++ b/perceval/backends/gerrit.py @@ -49,13 +49,20 @@ class Gerrit(Backend): :param url: Gerrit server URL :param user: SSH user used to connect to the Gerrit server :param...
[gerrit] Allow to set the origin of a repository By default, the origin is set to the Gerrit's URL. Backend version increased to <I>.
chaoss_grimoirelab-perceval
train
79e47fd98ff005848f1592a62b18a485e199ebba
diff --git a/moto/ecs/models.py b/moto/ecs/models.py index <HASH>..<HASH> 100644 --- a/moto/ecs/models.py +++ b/moto/ecs/models.py @@ -428,9 +428,6 @@ class EC2ContainerServiceBackend(BaseBackend): if cluster_name in self.clusters: list_clusters.append( sel...
Returns an empty list when the cluster does not exist
spulec_moto
train
49afc39e9d4523a637fac258de02f3cd2887a06d
diff --git a/app/scripts/Widget/plugins/PressureWidget/Widget.js b/app/scripts/Widget/plugins/PressureWidget/Widget.js index <HASH>..<HASH> 100644 --- a/app/scripts/Widget/plugins/PressureWidget/Widget.js +++ b/app/scripts/Widget/plugins/PressureWidget/Widget.js @@ -39,7 +39,7 @@ export class PressureWidget extends Com...
[#<I>] Fix if it is an empty string, put null to city. #<I>
nossas_bonde-client
train
9b131429a21fa098fb6089b5ee3c6311e5f9f225
diff --git a/src/parser.js b/src/parser.js index <HASH>..<HASH> 100644 --- a/src/parser.js +++ b/src/parser.js @@ -206,14 +206,14 @@ export class Parser extends Tokenizer { this.strict = false; this.expect(TokenType.LBRACE); - let body = this.markLocation(this.parseBody(), startLocation); + let body =...
include RBRACE in FunctionBody location
shapesecurity_shift-parser-js
train
c7ea98655640d32fd740d79da5ec959dcf56576d
diff --git a/mongo/oplog.go b/mongo/oplog.go index <HASH>..<HASH> 100644 --- a/mongo/oplog.go +++ b/mongo/oplog.go @@ -158,7 +158,7 @@ func (t *OplogTailer) loop() error { // When recreating the iterator (required when the cursor // is invalidated) avoid reporting oplog entries that have // already been rep...
mongo: 2 OplogTailer fixes MongoDB seems to sometimes error out when the LogReplay query option is used on a fake oplog collection, so it is now only used for the real oplog. The OplogTailer tests now always check for the output channel unexpectedly closing and report the error.
juju_juju
train
7aec32280cf6ea1e28e4258404273b6dc63f3a92
diff --git a/publish/callbacks.go b/publish/callbacks.go index <HASH>..<HASH> 100644 --- a/publish/callbacks.go +++ b/publish/callbacks.go @@ -7,6 +7,12 @@ import ( ) func isDraftMode(db *gorm.DB) bool { + if draftMode, ok := db.Get(publishForceDraftMode); ok { + if isDraft, ok := draftMode.(bool); ok && isDraft {...
Add publish immediately tests for many2many
qor_qor
train
0cedaf25e758c223ad54429c1e7bc991eb846c0a
diff --git a/parquet-thrift/src/main/java/parquet/thrift/ParquetProtocol.java b/parquet-thrift/src/main/java/parquet/thrift/ParquetProtocol.java index <HASH>..<HASH> 100644 --- a/parquet-thrift/src/main/java/parquet/thrift/ParquetProtocol.java +++ b/parquet-thrift/src/main/java/parquet/thrift/ParquetProtocol.java @@ -3...
remove debugging code from hot path
apache_parquet-mr
train
f4c023b9144a893cf1cfbc87b022812e501d64e7
diff --git a/src/QROptionsTrait.php b/src/QROptionsTrait.php index <HASH>..<HASH> 100644 --- a/src/QROptionsTrait.php +++ b/src/QROptionsTrait.php @@ -308,6 +308,8 @@ trait QROptionsTrait{ /** * sets the FPDF measurement unit + * + * @codeCoverageIgnore */ protected function set_fpdfMeasureUnit(string $un...
:octocat: ignore coverage for now
chillerlan_php-qrcode
train
99d7d686761304186abc1e997d782f6afe69d5c2
diff --git a/lib/connection.js b/lib/connection.js index <HASH>..<HASH> 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -85,9 +85,11 @@ Connection.prototype._setupSocket = function (params) { // only use this socket once this.socket = opts.socket opts.socket = null - ...
do that only when a socket exist
xmppjs_xmpp.js
train
26afdd197ac039c69811c0777f99ef33ca616584
diff --git a/js/search-filter/js/lumx.search_filter_directive.js b/js/search-filter/js/lumx.search_filter_directive.js index <HASH>..<HASH> 100644 --- a/js/search-filter/js/lumx.search_filter_directive.js +++ b/js/search-filter/js/lumx.search_filter_directive.js @@ -46,17 +46,18 @@ angular.module('lumx.search-filter', ...
feat search-filter: ergonomic improvements On a search filter opened by default, when a click is outside the search filter, it closes the search input. But if the user clicks ont the icon label, it no longer closes the search filter.
lumapps_lumX
train
43175aefc79da52410c3636ea8255b9739b0c748
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,8 @@ setup(name='tacl', 'tacl': ['assets/jitc/*.js', 'assets/jitc/*.css', 'assets/templates/*.html', 'assets/xslt/*.xsl'], }, - install_requires=['biopython', 'Jinja2', 'lxm...
Added colour to logging output.
ajenhl_tacl
train
76c01e7791de0bf6a0f309a778de8ed3e61167cd
diff --git a/dokan/dokan_test.go b/dokan/dokan_test.go index <HASH>..<HASH> 100644 --- a/dokan/dokan_test.go +++ b/dokan/dokan_test.go @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD // license that can be found in the LICENSE file. +// +build windows + package dokan import ( diff --git a/dokan/...
Mark dokan test files as Windows-only
keybase_client
train
ecbd9e7f1ee7491d320765947b7fdc8b468dc217
diff --git a/azurerm/internal/services/redis/redis_cache_resource.go b/azurerm/internal/services/redis/redis_cache_resource.go index <HASH>..<HASH> 100644 --- a/azurerm/internal/services/redis/redis_cache_resource.go +++ b/azurerm/internal/services/redis/redis_cache_resource.go @@ -303,8 +303,7 @@ func resourceArmRedis...
refactor: using a non-not found non-error to signify it's present
terraform-providers_terraform-provider-azurerm
train
06ea312aede4a3fdf09b4157ab9a3444c1b8985c
diff --git a/src/components/organisms/PressFilters/PressFilters.md b/src/components/organisms/PressFilters/PressFilters.md index <HASH>..<HASH> 100644 --- a/src/components/organisms/PressFilters/PressFilters.md +++ b/src/components/organisms/PressFilters/PressFilters.md @@ -1,3 +1,5 @@ This pattern shows a Form with i...
Makes pressfilter topic optional (#<I>) * Make the pressfilter topic select box option if not provided, do not render * ran lint-fix * Adds the ability to hide/show the Topic filters on the PressFilters story. * put props in order
massgov_mayflower
train
7a2ed9f8a119e220b66d67c7b9e07cbab47b1196
diff --git a/datasette/views/table.py b/datasette/views/table.py index <HASH>..<HASH> 100644 --- a/datasette/views/table.py +++ b/datasette/views/table.py @@ -815,7 +815,7 @@ class TableView(RowTableShared): form_hidden_args = [] for key in request.args: - if key.startswith("_...
Fixed bug with ?_sort= and ?_search=, closes #<I>
simonw_datasette
train
fb2b02bc9cd0b0df57caca9531613620a4b95d79
diff --git a/DocParser.php b/DocParser.php index <HASH>..<HASH> 100644 --- a/DocParser.php +++ b/DocParser.php @@ -93,6 +93,13 @@ final class DocParser private $autoloadAnnotations = true; /** + * An array of all valid tokens for a class name. + * + * @var array + */ + private $classIdent...
Fixed annotations like @True, @False, and @Null and added some unit tests
doctrine_annotations
train
238607ccdfa6b2025765c67a560199d890408d9c
diff --git a/ext/ox/sax.c b/ext/ox/sax.c index <HASH>..<HASH> 100644 --- a/ext/ox/sax.c +++ b/ext/ox/sax.c @@ -1156,6 +1156,28 @@ read_text(SaxDrive dr) { int isEnd = ('/' == buf_get(&dr->buf)); buf_backup(&dr->buf); + if (NoSkip == dr->options.skip && dr->has.text && !isEnd) { + args[0] = rb_str_new2(dr->buf...
more pedantic with not skipping white space when no-skip mode
ohler55_ox
train
86008252dc9dd0d959aec2957b488ddc4c5d2451
diff --git a/lib/api/2011-02-01/configuration.js b/lib/api/2011-02-01/configuration.js index <HASH>..<HASH> 100644 --- a/lib/api/2011-02-01/configuration.js +++ b/lib/api/2011-02-01/configuration.js @@ -442,6 +442,19 @@ handlers.DescribeDefaultSearchField = function(context, request, response, confi response.send(cr...
Add GCSDeleteAllDomains action for testing purpose
groonga_gcs
train
67257629b636b1b36b97732e64bfe2721dfdae2e
diff --git a/spec/travis/model/build/matrix_spec.rb b/spec/travis/model/build/matrix_spec.rb index <HASH>..<HASH> 100644 --- a/spec/travis/model/build/matrix_spec.rb +++ b/spec/travis/model/build/matrix_spec.rb @@ -3,9 +3,6 @@ require 'spec_helper' describe Build, 'matrix' do include Support::ActiveRecord - befo...
stop testing private build.matrix_config
travis-ci_travis-core
train
89b65e9b3cf31fafb666d580a5cc951c85186087
diff --git a/src/chill/tests.py b/src/chill/tests.py index <HASH>..<HASH> 100644 --- a/src/chill/tests.py +++ b/src/chill/tests.py @@ -1394,6 +1394,81 @@ value: get-total-count.sql data = json.loads(rv.data) assert 26 == data['count'] + def test_method_and_weight_route_value(self)...
Support ChillNode route other then GET
jkenlooper_chill
train
196110e86cc3fe4d2ea9d3af52adb78d4db7c632
diff --git a/framework/directives/scrollable.js b/framework/directives/scrollable.js index <HASH>..<HASH> 100644 --- a/framework/directives/scrollable.js +++ b/framework/directives/scrollable.js @@ -38,7 +38,7 @@ limitations under the License. scrollWrapper = element[0]; - var offset = parseInt(attrs.th...
make infinit scroll threshold more sensitive
OnsenUI_OnsenUI
train
791bc77f3ae39172c9ca3ae3a0f17d1fa3869271
diff --git a/moto/redshift/models.py b/moto/redshift/models.py index <HASH>..<HASH> 100644 --- a/moto/redshift/models.py +++ b/moto/redshift/models.py @@ -97,6 +97,7 @@ class Cluster(TaggableResourceMixin, CloudFormationModel): iam_roles_arn=None, enhanced_vpc_routing=None, restored_from_snap...
Add KmsKeyId to Redshift Cluster (#<I>) * Add KmsKeyId to Redshift Cluster Add the KmsKeyId property when creating a cluster so that it is also returned when querying the describe_clusters endpoint. * Run black on updated files * Add unit test for Redshift KmsKeyId * Re-run black with correct version
spulec_moto
train
caa67865f41ca9b779398e10393356b535487b3b
diff --git a/src/main/java/org/opensky/libadsb/msgs/AirspeedHeadingMsg.java b/src/main/java/org/opensky/libadsb/msgs/AirspeedHeadingMsg.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/opensky/libadsb/msgs/AirspeedHeadingMsg.java +++ b/src/main/java/org/opensky/libadsb/msgs/AirspeedHeadingMsg.java @@ -86,7 +86,...
Fixed minor bug with supersonic velocities
openskynetwork_java-adsb
train
12cb392e5268b475ac418d31293e220c1322a4b2
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -1949,10 +1949,10 @@ class DirectoryRecord(object): self.file_unit_size, self.interleave_gap_size, seqnum_le, seqnum_be, self.len_fi) = struct.unpack(self.fmt, record[:33]) - if len(record) != self...
Relax parsing checks even more.
clalancette_pycdlib
train
f043084997a5f3d6dae8326f51b09077aed2515b
diff --git a/hazelcast-jet-kafka/src/main/java/com/hazelcast/jet/connector/kafka/ReadKafkaP.java b/hazelcast-jet-kafka/src/main/java/com/hazelcast/jet/connector/kafka/ReadKafkaP.java index <HASH>..<HASH> 100644 --- a/hazelcast-jet-kafka/src/main/java/com/hazelcast/jet/connector/kafka/ReadKafkaP.java +++ b/hazelcast-jet...
removed highwater check from ReadKafkaP and adapted emitCooperatively
hazelcast_hazelcast
train
0d35a567723a3785ba2c6fc8c47064bcc61b05cf
diff --git a/tests/unit/minion_test.py b/tests/unit/minion_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/minion_test.py +++ b/tests/unit/minion_test.py @@ -27,6 +27,7 @@ class MinionTestCase(TestCase): with patch.dict(__opts__, {'ipv6': False, 'master': float('127.0'), 'master_port': '4555', 'retry_dns'...
Ensure this test is run as root
saltstack_salt
train
aab1e51bd3f4c33134f68fb25233189c6fd95ae0
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -1059,13 +1059,15 @@ def _build_and_run( check_cancelled, newline_on_success, cache, xml_report=None, build_only=False): """Do one pass of...
Generate report.xml report with --build_only too
grpc_grpc
train
763a99e3681fd2230a6b651977032a78597b5cc9
diff --git a/src/Symfony/Framework/TwigBundle/Extension/Helpers.php b/src/Symfony/Framework/TwigBundle/Extension/Helpers.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Framework/TwigBundle/Extension/Helpers.php +++ b/src/Symfony/Framework/TwigBundle/Extension/Helpers.php @@ -42,6 +42,9 @@ class Helpers extends \Twig...
[TwigBundle] added an asset tag
symfony_symfony
train
a897754cdb4cce829a77ee9acd377547e5410cdf
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='django-markitup', - version='0.2.3', + version='0.2.4', description='Django integration with the MarkItUp universal markup editor', ...
uploaded <I> (properly signed this time) --HG-- extra : convert_revision : carl%<I>dirtcircle.com-<I>-z0zrpkppiox9m0s1
zsiciarz_django-markitup
train
22df1d2303a7a0e124a8c0740e1d7a3ebe8d4a3c
diff --git a/spec/LdapTools/AttributeConverter/ConvertValueToDnSpec.php b/spec/LdapTools/AttributeConverter/ConvertValueToDnSpec.php index <HASH>..<HASH> 100644 --- a/spec/LdapTools/AttributeConverter/ConvertValueToDnSpec.php +++ b/spec/LdapTools/AttributeConverter/ConvertValueToDnSpec.php @@ -30,6 +30,24 @@ class Conv...
Allow specifying the attribute to select in the value to dn converter.
ldaptools_ldaptools
train
851d321e9a7a4f5d20aaaa24a024638950d39bfa
diff --git a/api/server/version.go b/api/server/version.go index <HASH>..<HASH> 100644 --- a/api/server/version.go +++ b/api/server/version.go @@ -7,7 +7,7 @@ import ( ) // Version of IronFunctions -var Version = "0.0.55" +var Version = "0.0.56" func handleVersion(c *gin.Context) { c.JSON(http.StatusOK, gin.H{...
functions: <I> release [skip ci]
iron-io_functions
train
43550f61cd5ec2d085f6b7d518d5200f9bc48126
diff --git a/src/org/openscience/cdk/test/libio/openbabel/OpenBabelConvertTest.java b/src/org/openscience/cdk/test/libio/openbabel/OpenBabelConvertTest.java index <HASH>..<HASH> 100644 --- a/src/org/openscience/cdk/test/libio/openbabel/OpenBabelConvertTest.java +++ b/src/org/openscience/cdk/test/libio/openbabel/OpenBab...
Generalized detection of existing babel executables, and added the default location for POSIX systems. git-svn-id: <URL>
cdk_cdk
train
90134f004a22a6a0186251dde4ffdfc79f9b4dc2
diff --git a/src/Wave/Framework/Application/Controller.php b/src/Wave/Framework/Application/Controller.php index <HASH>..<HASH> 100644 --- a/src/Wave/Framework/Application/Controller.php +++ b/src/Wave/Framework/Application/Controller.php @@ -74,12 +74,14 @@ class Controller extends Decoratable implements \Serializable...
Controller decorators receive the current context as argument
DaGhostman_codewave
train
daa5c4c7dbf5cd152ba3109caea23cc01e6af50b
diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx.py +++ b/src/python/dxpy/scripts/dx.py @@ -45,7 +45,7 @@ from ..cli.parsers import (no_color_arg, delim_arg, env_args, stdout_args, all_a instance_type_arg,...
Check for workflow after resolution plus style edits Summary: Check for workflow after resolution plus style edits Code review fixes for <I>c<I>e7f<I> Test Plan: python test_dxclient.py TestDXClientRun.test_dx_run_depends_on Reviewers: pnguyen Reviewed By: pnguyen Subscribers: psung Differential Revision: <URL>
dnanexus_dx-toolkit
train
fc665d8b0854ce55085e37df2075cf5e58162b15
diff --git a/HISTORY.md b/HISTORY.md index <HASH>..<HASH> 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,8 @@ ## 0.8.5 (in progress) +- Use `mincores` specification to ipython-cluster-helper to combine single core + jobs into a single submission job for better memory shared on resource + constrained systems. ...
Improve documentation and defaults for AWS cloud runs: do not require specifying SLURM resources and use mincores automatically for larger clusters. chapmanb/bcbio-nextgen-vm#<I>
bcbio_bcbio-nextgen
train
1a834c5a36d7f27c885240834dfdb7c72f24d52a
diff --git a/js/bigone.js b/js/bigone.js index <HASH>..<HASH> 100644 --- a/js/bigone.js +++ b/js/bigone.js @@ -541,8 +541,8 @@ module.exports = class bigone extends Exchange { // } // } // - let order = self.safeValue (response, 'data'); - return self.parseOrder (ord...
bigone js self → this typo fix
ccxt_ccxt
train
1a4c18a5c18191d5f9577bd2184a47c5d2660857
diff --git a/src/views/layouts/blank.php b/src/views/layouts/blank.php index <HASH>..<HASH> 100644 --- a/src/views/layouts/blank.php +++ b/src/views/layouts/blank.php @@ -10,19 +10,27 @@ <?= Decoy::title() ?> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>...
Reference webpack built assets #<I>
BKWLD_decoy
train
42fef74a55f52d51de7aa97f4e7e84967bb32c51
diff --git a/lucid/misc/io/reading.py b/lucid/misc/io/reading.py index <HASH>..<HASH> 100644 --- a/lucid/misc/io/reading.py +++ b/lucid/misc/io/reading.py @@ -146,9 +146,10 @@ def local_cache_path(remote_url): """Returns the path that remote_url would be cached at locally.""" local_name = RESERVED_PATH_CHARS....
truncating filename while keeping as much of original as possible
tensorflow_lucid
train
0797f66688634d1381dd60740c251219aa56c755
diff --git a/src/Shortcode/Shortcode.php b/src/Shortcode/Shortcode.php index <HASH>..<HASH> 100644 --- a/src/Shortcode/Shortcode.php +++ b/src/Shortcode/Shortcode.php @@ -8,7 +8,7 @@ final class Shortcode extends AbstractShortcode implements ShortcodeInterface { public function __construct($name, array $parameter...
fixed issue with type coercion forcing invalid shortcode name exception
thunderer_Shortcode
train
4ef879c00519e8ba57dbc5bf8d79c071ca60456d
diff --git a/js/hollaex.js b/js/hollaex.js index <HASH>..<HASH> 100644 --- a/js/hollaex.js +++ b/js/hollaex.js @@ -49,8 +49,13 @@ module.exports = class hollaex extends Exchange { 'withdraw': true, }, 'timeframes': { + '1m': '1m', + '5m': '5m', + ...
added more timeframes to hollaex exchange class
ccxt_ccxt
train
1a20a5960544fcc41dd34bdaa742adb5f4e40d79
diff --git a/spanish/common.go b/spanish/common.go index <HASH>..<HASH> 100644 --- a/spanish/common.go +++ b/spanish/common.go @@ -42,7 +42,7 @@ func findRegions(word *snowballword.SnowballWord) (r1start, r2start, rvstart int // Otherwise (consonant-vowel case) RV is the region after the // third letter. But RV...
Fix RV identification error and add tests.
kljensen_snowball
train
00950997bfa16b2b8cb124e65935654a9419a2a8
diff --git a/source/org/jasig/portal/channels/CNumberGuess.java b/source/org/jasig/portal/channels/CNumberGuess.java index <HASH>..<HASH> 100644 --- a/source/org/jasig/portal/channels/CNumberGuess.java +++ b/source/org/jasig/portal/channels/CNumberGuess.java @@ -64,6 +64,8 @@ public class CNumberGuess implements IChann...
changed to obtain LogService from the /services branch of the JNDI tree. This is an example of how a channel would obtain JNDI services git-svn-id: <URL>
Jasig_uPortal
train
f5a9641268c708145f2a4725fc6bcdf808c59e28
diff --git a/linode/util/paginatedList.py b/linode/util/paginatedList.py index <HASH>..<HASH> 100644 --- a/linode/util/paginatedList.py +++ b/linode/util/paginatedList.py @@ -74,3 +74,9 @@ class PaginatedList(object): ret += self.lists[j_page][:j_normalized] return ret + + def __setitem__(self, i...
Raise appropriate errors when trying to modify paginated lists
linode_linode_api4-python
train
b5620373ba3a97b710664a267a74ad530151df3a
diff --git a/lib/partition.js b/lib/partition.js index <HASH>..<HASH> 100644 --- a/lib/partition.js +++ b/lib/partition.js @@ -60,7 +60,8 @@ Partition.prototype = { this.firstLBA = buffer.readUInt32LE( 8 ) this.sectors = buffer.readUInt32LE( 12 ) - this.info = Partition.TYPES[ this.type ].slice() + ...
Updated lib/partition: Fixed partinfo lookup error Even when no partition info was available, .slice() was called on it - causing a TypeError
jhermsmeier_node-mbr
train
0e58c348c7002640a316ea407a209d30bc459c2f
diff --git a/www/saml2/idp/SingleLogoutServiceiFrame.php b/www/saml2/idp/SingleLogoutServiceiFrame.php index <HASH>..<HASH> 100644 --- a/www/saml2/idp/SingleLogoutServiceiFrame.php +++ b/www/saml2/idp/SingleLogoutServiceiFrame.php @@ -232,7 +232,26 @@ if (isset($_REQUEST['SAMLRequest'])) { } catch(Exception $exceptio...
saml2/idp: Log warnings on misbehaving SP logout. This patch makes the iframe logout code log some warnings if it detects something wrong with the SP logout implementation.
simplesamlphp_saml2
train
526b6dd0899b277fb414e175249278fcc035297b
diff --git a/skyfield/positionlib.py b/skyfield/positionlib.py index <HASH>..<HASH> 100644 --- a/skyfield/positionlib.py +++ b/skyfield/positionlib.py @@ -26,7 +26,7 @@ def build_position(position_au, velocity_au_per_d=None, t=None, cls = Barycentric elif center == 399: cls = Geocentric - elif...
Always ignore and never pass “observer_data” arg Make a much more sound and deliberate decision about whether a position deserves an `altaz()` method: by whether it can support it or not. This reveals that the `Geometric` class might have been misnamed, as it seems more specific. A small step for #<I>.
skyfielders_python-skyfield
train
eea502f7381a54eeda2b0259a26b04fd1b77b8a0
diff --git a/src/main/java/hex/CoxPH.java b/src/main/java/hex/CoxPH.java index <HASH>..<HASH> 100644 --- a/src/main/java/hex/CoxPH.java +++ b/src/main/java/hex/CoxPH.java @@ -599,12 +599,12 @@ public class CoxPH extends Job { final double newLoglik = model.calcLoglik(coxMR); if (newLoglik > oldLoglik) {...
Rearrange order of summary stats calculations in Cox PH.
h2oai_h2o-2
train
55ed368becc999945923266ea757f0e6a154fed0
diff --git a/tests/test_router.py b/tests/test_router.py index <HASH>..<HASH> 100644 --- a/tests/test_router.py +++ b/tests/test_router.py @@ -52,10 +52,12 @@ def mock_router(): @pytest.mark.parametrize("test_route, req_path, req_method, should_call", [ ((GET, "/", mock.Mock()), "/", GET, True), - ((GET, "/"...
(tests) Fixed broken router tests after fixing path matching
pyGrowler_Growler
train
a1f0519f6eeacfaaafe6ac44ac1d8f823e49f20c
diff --git a/js/exmo.js b/js/exmo.js index <HASH>..<HASH> 100644 --- a/js/exmo.js +++ b/js/exmo.js @@ -104,7 +104,7 @@ module.exports = class exmo extends Exchange { 'withdraw_get_txid', 'excode_create', 'excode_load', - '...
exmo missing comma linting
ccxt_ccxt
train
1ff0793ea1f07208e1480e542b2d219278a3ca36
diff --git a/sklearn_evaluation/metrics.py b/sklearn_evaluation/metrics.py index <HASH>..<HASH> 100644 --- a/sklearn_evaluation/metrics.py +++ b/sklearn_evaluation/metrics.py @@ -33,7 +33,7 @@ def precision_at(y_true, y_score, proportion, ignore_nas=False): def __threshold_at(y_score, proportion): # Sort scores i...
moves auc from title to label in pr curve
edublancas_sklearn-evaluation
train
12fe90325ebab50214ba66984749a8b54526be32
diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/users/sessions_controller.rb +++ b/app/controllers/users/sessions_controller.rb @@ -10,9 +10,4 @@ class Users::SessionsController < Devise::SessionsController e...
Removed redundant code related to sign out. After sign out redirection on servers where Shib authn is required is handled in Apache conf. Removed override of `Users::SessionsController#after_sign_out_path_for` and `Ddr::Auth.sso_logout_url` accessor. Upgrade note: Remove references to `Ddr::Auth.sso_logout_url` in lo...
duke-libraries_ddr-models
train
0a531b423c154f6602f49364a5362b71dd70e7b6
diff --git a/resttest.py b/resttest.py index <HASH>..<HASH> 100644 --- a/resttest.py +++ b/resttest.py @@ -108,7 +108,7 @@ class BodyReader: endidx = startidx + size data = self.data - if len(data) == 0: + if data is None or len(data) == 0: return '' if endidx >...
Fixed body reader to handle when data is None
svanoort_pyresttest
train
f353d56cfb7a3e769a9209d4e0255de5a0928879
diff --git a/milo/buildsource/buildbucket/build_sync.go b/milo/buildsource/buildbucket/build_sync.go index <HASH>..<HASH> 100644 --- a/milo/buildsource/buildbucket/build_sync.go +++ b/milo/buildsource/buildbucket/build_sync.go @@ -30,6 +30,7 @@ import ( "go.chromium.org/luci/common/errors" "go.chromium.org/luci/com...
[milo] improve delete-builds cron job to delete builds faster 1. Split builds into batches. 2. Delete build batches in parallel. R=mdraz, nqmtuan Bug: <I> Change-Id: I7f5a3dab2bf<I>ca<I>c<I>a1e<I>b Reviewed-on: <URL>
luci_luci-go
train
58a1cd1e49398e62accba6fb699750d03e893a88
diff --git a/algoliasearch/types_query.go b/algoliasearch/types_query.go index <HASH>..<HASH> 100644 --- a/algoliasearch/types_query.go +++ b/algoliasearch/types_query.go @@ -5,7 +5,8 @@ type multipleQueriesRes struct { } type MultipleQueryRes struct { - Index string `json:"index"` + Index string `json:"index"`...
feat: Expose processed boolean for MultipleQueriesRes when using stopIfEnoughMatchesStrategy (closes #<I>)
algolia_algoliasearch-client-go
train
16509a8f227339be81023365c1426079307db02f
diff --git a/lib/overcommit/utils.rb b/lib/overcommit/utils.rb index <HASH>..<HASH> 100644 --- a/lib/overcommit/utils.rb +++ b/lib/overcommit/utils.rb @@ -101,6 +101,11 @@ module Overcommit false end + # Return the parent command that triggered this hook run + def parent_command + `ps...
Add method Utils.parent_command Returns the name of the command corresponding to the parent of the current process, which will be the calling git command when running hooks.
sds_overcommit
train
b38d0e75aec6d83852552f7972c3bc68b8ec8a38
diff --git a/nba_py/player.py b/nba_py/player.py index <HASH>..<HASH> 100644 --- a/nba_py/player.py +++ b/nba_py/player.py @@ -881,7 +881,7 @@ class PlayerPassTracking(_PlayerDashboard): def passes_made(self): return _api_scrape(self.json, 0) - def passes_recieved(self): + def passes_received(self...
passes_recieved() function in player.py was spelled incorrectly. Should be passes_received()
seemethere_nba_py
train
0a23b5e4920653b12e859f29606e8357cb9fe5a9
diff --git a/src/main/java/com/dlsc/preferencesfx/DoubleSliderControl.java b/src/main/java/com/dlsc/preferencesfx/DoubleSliderControl.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/dlsc/preferencesfx/DoubleSliderControl.java +++ b/src/main/java/com/dlsc/preferencesfx/DoubleSliderControl.java @@ -2,6 +2,8 @@ p...
made doubleslider work, introduced ability to define precision
dlemmermann_PreferencesFX
train
1a84b581d899582d66adc7b651a59206e76e6018
diff --git a/core/src/main/java/com/linecorp/armeria/common/logging/BuiltInProperty.java b/core/src/main/java/com/linecorp/armeria/common/logging/BuiltInProperty.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/linecorp/armeria/common/logging/BuiltInProperty.java +++ b/core/src/main/java/com/linecorp/armer...
Add new built-in MDC property req.root_id (#<I>) #### Motivation: * Needs for a new MDC property which can be used for tracing logs within a same `ServiceRequestContext` (#<I>). #### Modifications: * Add new built-in MDC property, `req.root_id`.
line_armeria
train
f0a09f9bc4b61a88e5a9149387999f81208bb3a2
diff --git a/lib/normalic.rb b/lib/normalic.rb index <HASH>..<HASH> 100644 --- a/lib/normalic.rb +++ b/lib/normalic.rb @@ -114,7 +114,7 @@ module Normalic self.new( { :number => number, - :direction => dir.upcase, + :direction => dir ? dir.upcase : nil, :street =>...
Added conditional for nil case.
ericxtang_normalic
train
5b1524b99a67f7e1f19166212613eb8bb18ad7c3
diff --git a/lib/active_scaffold/helpers/form_column_helpers.rb b/lib/active_scaffold/helpers/form_column_helpers.rb index <HASH>..<HASH> 100644 --- a/lib/active_scaffold/helpers/form_column_helpers.rb +++ b/lib/active_scaffold/helpers/form_column_helpers.rb @@ -312,8 +312,7 @@ module ActiveScaffold subform_at...
avoid usage of build_associated for optional subform, as it would remove existing value for association
activescaffold_active_scaffold
train