hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
4389d17469937585fe5c16cd704aae6b624a4fed
diff --git a/drf_hal_json/views.py b/drf_hal_json/views.py index <HASH>..<HASH> 100644 --- a/drf_hal_json/views.py +++ b/drf_hal_json/views.py @@ -11,4 +11,4 @@ class HalCreateModelMixin(CreateModelMixin): url_field_data = links_data.get(api_settings.URL_FIELD_NAME) if not url_field_data: ...
made compatible with DRF <I>
seebass_drf-hal-json
train
py,py
4fbe1c30e310d0caa638ba52b7748123c1998b57
diff --git a/DrdPlus/Lighting/UnsuitableLightingQualityMalus.php b/DrdPlus/Lighting/UnsuitableLightingQualityMalus.php index <HASH>..<HASH> 100644 --- a/DrdPlus/Lighting/UnsuitableLightingQualityMalus.php +++ b/DrdPlus/Lighting/UnsuitableLightingQualityMalus.php @@ -48,7 +48,7 @@ class UnsuitableLightingQualityMalus ex...
Updated a link to PPH
drdplusinfo_drdplus-lighting
train
php
b5657ce8e9d241dde5badb062bcf05d731483462
diff --git a/anyconfig/__init__.py b/anyconfig/__init__.py index <HASH>..<HASH> 100644 --- a/anyconfig/__init__.py +++ b/anyconfig/__init__.py @@ -19,7 +19,7 @@ validation/generation support. from .globals import AUTHOR, VERSION from .api import ( single_load, multi_load, load, loads, dump, dumps, validate, gen_...
api: export merge (anyconfig.dicts.merge) instead of to_container which was deprecated and removed
ssato_python-anyconfig
train
py
57be3cfb3422d84a73f0d933bfc7b03f10df8445
diff --git a/stimela/cargo/cab/rfinder/src/run.py b/stimela/cargo/cab/rfinder/src/run.py index <HASH>..<HASH> 100644 --- a/stimela/cargo/cab/rfinder/src/run.py +++ b/stimela/cargo/cab/rfinder/src/run.py @@ -32,11 +32,8 @@ for param in cab['parameters']: if value is None: continue - msnames = [] ...
get the msname with no path
SpheMakh_Stimela
train
py
d43d1869be5e97c3f4df7f58bc724f0de6df545d
diff --git a/src/main/java/water/util/MRUtils.java b/src/main/java/water/util/MRUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/water/util/MRUtils.java +++ b/src/main/java/water/util/MRUtils.java @@ -75,11 +75,10 @@ public class MRUtils { int cores = 0; for( H2ONode node : H2O.CLOUD._memary ) ...
Reduce the number of chunks for rebalancing to the number of cores, not 4x.
h2oai_h2o-2
train
java
fee7fba8934ee6005b7e8eefc4baf7db48f03934
diff --git a/activestorage/app/jobs/active_storage/purge_job.rb b/activestorage/app/jobs/active_storage/purge_job.rb index <HASH>..<HASH> 100644 --- a/activestorage/app/jobs/active_storage/purge_job.rb +++ b/activestorage/app/jobs/active_storage/purge_job.rb @@ -3,6 +3,7 @@ # Provides asynchronous purging of ActiveSto...
Retry ActiveStorage::PurgeJobs on DB deadlock
rails_rails
train
rb
f9d353553401655fb53c8384dfce92a3e9870038
diff --git a/source/CAS/PGTStorage/Db.php b/source/CAS/PGTStorage/Db.php index <HASH>..<HASH> 100644 --- a/source/CAS/PGTStorage/Db.php +++ b/source/CAS/PGTStorage/Db.php @@ -296,7 +296,7 @@ class CAS_PGTStorage_Db extends CAS_PGTStorage_AbstractStorage // initialize the PDO object for this method $...
#<I> fix function names screwed up by the style changes
apereo_phpCAS
train
php
c47aeef173a35366c38213fdd8ff6467e694586f
diff --git a/wicket-orientdb/src/test/java/ru/ydn/wicket/wicketorientdb/orientdb/TestStandaloneOrientDBCompatibility.java b/wicket-orientdb/src/test/java/ru/ydn/wicket/wicketorientdb/orientdb/TestStandaloneOrientDBCompatibility.java index <HASH>..<HASH> 100644 --- a/wicket-orientdb/src/test/java/ru/ydn/wicket/wicketori...
Exclude standalone tests because they make test very slow
OrienteerBAP_wicket-orientdb
train
java
1549f9fc607053b52447e53b253acddc890419de
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 @@ -2,18 +2,19 @@ from __future__ import division -import warnings +import logging +import shutil import os +import warnings import numpy as np +import ...
Remove tmp files when simulation is done
openfisca_openfisca-core
train
py
457aee9a220131ba807f242278de3e2bbf448e19
diff --git a/resource_aws_vpc_test.go b/resource_aws_vpc_test.go index <HASH>..<HASH> 100644 --- a/resource_aws_vpc_test.go +++ b/resource_aws_vpc_test.go @@ -10,9 +10,8 @@ import ( ) func TestAccVpc(t *testing.T) { - testAccPreCheck(t) - resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreChe...
helper/resource: add PreCheck
terraform-providers_terraform-provider-aws
train
go
a46b7a99cf417c6325a01c83b7b58b9dcb636544
diff --git a/spec/mongo/collection_spec.rb b/spec/mongo/collection_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mongo/collection_spec.rb +++ b/spec/mongo/collection_spec.rb @@ -1263,7 +1263,7 @@ describe Mongo::Collection do end end - context 'when a max time ms value is provided' do + context 'wh...
RUBY-<I> Don't test parallelScan on <I>
mongodb_mongo-ruby-driver
train
rb
941348aa941b6f2ef01b773020c390d901b20856
diff --git a/lib/rpub.rb b/lib/rpub.rb index <HASH>..<HASH> 100644 --- a/lib/rpub.rb +++ b/lib/rpub.rb @@ -48,7 +48,6 @@ module Rpub end KRAMDOWN_OPTIONS = { - :auto_ids => false, :coderay_line_numbers => nil } end
Do use auto IDs for TOC
avdgaag_rpub
train
rb
cb0127384a147605b037f43c35a9bb67ffffad0f
diff --git a/src/wyjc/runtime/Util.java b/src/wyjc/runtime/Util.java index <HASH>..<HASH> 100755 --- a/src/wyjc/runtime/Util.java +++ b/src/wyjc/runtime/Util.java @@ -403,7 +403,7 @@ public class Util { * The <code>coerce</code> method forces this object to conform to a given * type. */ - public static Obje...
Bug fix for string => [int] coercions.
Whiley_WhileyCompiler
train
java
0963870408f77f69ffa4053e127f22cf54313fe8
diff --git a/lib/songbirdsh/track.rb b/lib/songbirdsh/track.rb index <HASH>..<HASH> 100644 --- a/lib/songbirdsh/track.rb +++ b/lib/songbirdsh/track.rb @@ -22,7 +22,7 @@ module Songbirdsh end def search_string - "#{self.artist.downcase}#{self.album.downcase}#{self.title.downcase}" + "#{self.artist....
slight change to handle nil track fields
markryall_songbirdsh
train
rb
f70f72c635e1a4f2215ccc7ca19fd4fcdc284a79
diff --git a/scope/scope.py b/scope/scope.py index <HASH>..<HASH> 100644 --- a/scope/scope.py +++ b/scope/scope.py @@ -78,6 +78,11 @@ class TagBase: """Method called for defining arguments for the object. Should be implemented by subclasses.""" pass + def set_children(self, children): + """Set the children of ...
Add helper function for setting children.
lrgar_scope
train
py
5c818c04206da52ca6b153e2d055a281c3f0df75
diff --git a/spec/apps/rails/dummy_app.rb b/spec/apps/rails/dummy_app.rb index <HASH>..<HASH> 100644 --- a/spec/apps/rails/dummy_app.rb +++ b/spec/apps/rails/dummy_app.rb @@ -104,8 +104,7 @@ class DummyController < ActionController::Base ) ] - def index - end + def index; end def crash raise Airb...
rubocop: fix offences of the Style/EmptyMethod cop
airbrake_airbrake
train
rb
bba6fdebd77cce64a0f23a5242232859052253d6
diff --git a/code/javascript/core/scripts/selenium-seleneserunner.js b/code/javascript/core/scripts/selenium-seleneserunner.js index <HASH>..<HASH> 100644 --- a/code/javascript/core/scripts/selenium-seleneserunner.js +++ b/code/javascript/core/scripts/selenium-seleneserunner.js @@ -109,7 +109,7 @@ function nextCommand(...
Encode the URI of the command result, for SRC-2 r<I>
SeleniumHQ_selenium
train
js
b4eed552668dc917d68a09705a0052d75642bd89
diff --git a/openfisca_web_api/controllers.py b/openfisca_web_api/controllers.py index <HASH>..<HASH> 100644 --- a/openfisca_web_api/controllers.py +++ b/openfisca_web_api/controllers.py @@ -397,6 +397,7 @@ def api1_field(req): headers = headers, ) + model.tax_benefit_system.set_variables...
Compute consumers of variable before returning a field JSON.
openfisca_openfisca-web-api
train
py
7367d922793c2c4e7f777607b5de18517c1dfd27
diff --git a/forwarded.js b/forwarded.js index <HASH>..<HASH> 100644 --- a/forwarded.js +++ b/forwarded.js @@ -10,13 +10,19 @@ var proxies = [ { ip: 'x-forwarded-for', - port: 'x-forwarded-port' + port: 'x-forwarded-port', + proto: 'x-forwarded-proto' }, { ip: 'z-forwarded-for', - port: 'z-...
[minor] Added x-real-ip as option.
primus_primus
train
js
b741ea1b4645b6de4ab009ec303af66da5558a9d
diff --git a/troposphere/cognito.py b/troposphere/cognito.py index <HASH>..<HASH> 100644 --- a/troposphere/cognito.py +++ b/troposphere/cognito.py @@ -130,7 +130,7 @@ class PasswordPolicy(AWSProperty): 'RequireNumbers': (boolean, False), 'RequireSymbols': (boolean, False), 'RequireUppercase':...
Fix TemporaryPasswordValidityDays type (#<I>)
cloudtools_troposphere
train
py
e9700ab5505226e5c060e7a2515548f3bf5ddb01
diff --git a/devices.js b/devices.js index <HASH>..<HASH> 100755 --- a/devices.js +++ b/devices.js @@ -3396,17 +3396,14 @@ const devices = [ vendor: 'Iris', description: 'Motion and temperature sensor', supports: 'occupancy and temperature', - fromZigbee: [ - fz.temperature,...
Fix battery reporting for Iris <I>-L motion sensor. (#<I>)
Koenkk_zigbee-shepherd-converters
train
js
adbdd7034293528273905bd8711bbf5c755386ed
diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index <HASH>..<HASH> 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -1602,14 +1602,12 @@ class BaseBuilder return false; // @codeCoverageIgnore } - } else { - ...
refactor: vendor/bin/rector process
codeigniter4_CodeIgniter4
train
php
b01ac88ae90da4e1081fbe4853cbd9635bd8d6ff
diff --git a/rw/event.py b/rw/event.py index <HASH>..<HASH> 100644 --- a/rw/event.py +++ b/rw/event.py @@ -64,8 +64,10 @@ class Event(set): # wait for results for func, future in futures: try: - result = yield future - re.append(result) + if no...
rw.event.Event make sure we are not waiting for already done Future's
FlorianLudwig_rueckenwind
train
py
18d7dfeb7fdd70b603facd2b3cc0e95299bd1f73
diff --git a/code/libraries/koowa/libraries/database/row/abstract.php b/code/libraries/koowa/libraries/database/row/abstract.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/libraries/database/row/abstract.php +++ b/code/libraries/koowa/libraries/database/row/abstract.php @@ -95,6 +95,8 @@ abstract class KDat...
re #<I>: Optimize row and rowset creation for memory use
joomlatools_joomlatools-framework
train
php,php
bbc9e5ce36ae6301500149190367be60147fe7f7
diff --git a/src/Projection/Catalog/Import/CatalogImport.php b/src/Projection/Catalog/Import/CatalogImport.php index <HASH>..<HASH> 100644 --- a/src/Projection/Catalog/Import/CatalogImport.php +++ b/src/Projection/Catalog/Import/CatalogImport.php @@ -143,7 +143,7 @@ class CatalogImport array_map(function (Cont...
Issue #<I>: Rename method addCommandToQueue to more expressive addUpdateProductCommandToQueue
lizards-and-pumpkins_catalog
train
php
b15364dd9f6768d4d9996c42e54eddfa74d89cb4
diff --git a/launch_control/commands/dashboard.py b/launch_control/commands/dashboard.py index <HASH>..<HASH> 100644 --- a/launch_control/commands/dashboard.py +++ b/launch_control/commands/dashboard.py @@ -85,5 +85,7 @@ class server_version(XMLRPCCommand): Display dashboard server version """ + __abstra...
Make XMLRPCCommand (base class) not show up in lc-tool
zyga_json-schema-validator
train
py,py
3332cb4918728d5e95658e9ca1d5038cdd92c383
diff --git a/lib/princely/pdf_helper.rb b/lib/princely/pdf_helper.rb index <HASH>..<HASH> 100644 --- a/lib/princely/pdf_helper.rb +++ b/lib/princely/pdf_helper.rb @@ -25,10 +25,11 @@ module Princely :stylesheets => [], :layout => false, :template => File.join(controller_path, action_name), - ...
Accept options[:server_flag] from make_pdf
mbleigh_princely
train
rb
344729300469ed350f5eebac58468ba4fa5899a2
diff --git a/client/gutenberg/editor/hooks/components/media-upload/index.js b/client/gutenberg/editor/hooks/components/media-upload/index.js index <HASH>..<HASH> 100644 --- a/client/gutenberg/editor/hooks/components/media-upload/index.js +++ b/client/gutenberg/editor/hooks/components/media-upload/index.js @@ -77,19 +77...
Gutenberg: wire up Media library enabled filters (#<I>) The existing mapping of allowed types to enabled filters was no longer accurate after the package update. This fixes the mapping and refactors the code to handle the cases when multiple allowed types can be returned.
Automattic_wp-calypso
train
js
55f321ea941c8181b615d5df9afa2fdaa4a8cde4
diff --git a/src/util/node.js b/src/util/node.js index <HASH>..<HASH> 100644 --- a/src/util/node.js +++ b/src/util/node.js @@ -1,3 +1,4 @@ + /*jslint indent:2,white:true,sloppy:true,node:true */ /* * freedom.js Node runtime @@ -5,7 +6,20 @@ 'use strict'; -var fdom = module.exports = {}; +var sources = [ + '/....
reapair node node functionality from bad merge
freedomjs_freedom
train
js
8d42007c45a21994f5b4d94f0a8e91cf71f62ff7
diff --git a/go/libkb/env.go b/go/libkb/env.go index <HASH>..<HASH> 100644 --- a/go/libkb/env.go +++ b/go/libkb/env.go @@ -255,6 +255,9 @@ func (e *Env) GetMountDir() (string, error) { "%s (%s)", runmodeName, user.Username)) case "linux": return filepath.Join(e.GetRuntimeDir(), "kbfs") + // kbfsdokan d...
make Env.GetMountDir() return emtpy by default on windows (#<I>)
keybase_client
train
go
7fec7870f3cf2b9cde83fdb81df53d64d2a827c9
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,6 @@ setup( test_suite='tests', classifiers=[ - 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License',
Remove development status from setup.py The project status could be tracked by its version so it's useless.
ikalnytskyi_dooku
train
py
23c2080879d5c3299ad30cf8927aa59a1b470635
diff --git a/lib/olive_branch/middleware.rb b/lib/olive_branch/middleware.rb index <HASH>..<HASH> 100644 --- a/lib/olive_branch/middleware.rb +++ b/lib/olive_branch/middleware.rb @@ -11,12 +11,14 @@ module OliveBranch env["action_dispatch.request.request_parameters"].deep_transform_keys!(&:underscore) e...
Refactor middleware w/ tap
vigetlabs_olive_branch
train
rb
9c051b50d7e27bfd7dec56e2e4fa70160594a9f5
diff --git a/test_project/settings.py b/test_project/settings.py index <HASH>..<HASH> 100644 --- a/test_project/settings.py +++ b/test_project/settings.py @@ -24,6 +24,8 @@ INSTALLED_APPS = ( 'tester', ) +SECRET_KEY = 'unique snowflake' + TEST_RUNNER = "test_runner.DJCETestSuiteRunner" CELERY_ALWAYS_EAGER =...
Add dummy SECRET_KEY to test_project settings Required to be non-empty since Django <I>
pmclanahan_django-celery-email
train
py
16e1661efdcebc41ff0b6dca2d021373747db48a
diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -38,7 +38,7 @@ class Svtplay(Service, OpenGraphThumbMixin): if re.match("^[0-9]+$", vid): old = True -...
svtplay: they changed the hostname for api calls fixes #<I>
spaam_svtplay-dl
train
py
33be56dbe9b091a4dbd8dc1c293267154f10b5bd
diff --git a/frontend/src/store/uiPropTypes.js b/frontend/src/store/uiPropTypes.js index <HASH>..<HASH> 100644 --- a/frontend/src/store/uiPropTypes.js +++ b/frontend/src/store/uiPropTypes.js @@ -70,6 +70,16 @@ export const result = PropTypes.shape({ export const results = PropTypes.objectOf(result); +export const ...
Define a prop type for deleted results
chainer_chainerui
train
js
68970f2e189eb5241dbad5c62131f216300942f0
diff --git a/mstate/relation.go b/mstate/relation.go index <HASH>..<HASH> 100644 --- a/mstate/relation.go +++ b/mstate/relation.go @@ -117,7 +117,7 @@ func (r *Relation) Life() Life { // state. If the lifecycle transitioned concurrently so that the cache is // stale, the call is valid but will yield no effect in the ...
mstate: rename Nlife to nLife
juju_juju
train
go,go
19ebd3cafa187466d13e45a9f6cf937433596537
diff --git a/src/lib/widget/default.js b/src/lib/widget/default.js index <HASH>..<HASH> 100644 --- a/src/lib/widget/default.js +++ b/src/lib/widget/default.js @@ -162,11 +162,13 @@ define(['../util', '../assets', '../i18n'], function(util, assets, i18n) { evt.stopPropagation(); setState('initial'); ...
bind to body's 'touchstart' event as well, to make stuff work on iSomething
remotestorage_remotestorage.js
train
js
d250ba1776d96f48b86eb1c76f14d4a2e996972b
diff --git a/test/configCases/target/amd-unnamed/index.js b/test/configCases/target/amd-unnamed/index.js index <HASH>..<HASH> 100644 --- a/test/configCases/target/amd-unnamed/index.js +++ b/test/configCases/target/amd-unnamed/index.js @@ -6,5 +6,5 @@ it("should name define", function() { var fs = require("fs"); var...
Fix the "should name define" test in configCases/target/amd-unnamed
webpack_webpack
train
js
dbcf4b53b84c52d7c18976e25d85b31f01f266aa
diff --git a/godotenv.go b/godotenv.go index <HASH>..<HASH> 100644 --- a/godotenv.go +++ b/godotenv.go @@ -147,15 +147,20 @@ func Exec(filenames []string, cmd string, cmdArgs []string) error { // Write serializes the given environment and writes it to a file func Write(envMap map[string]string, filename string) err...
Fixed Write bugs This should address a fix #<I> and #<I> This has not been addressed in any tests.
joho_godotenv
train
go
092dadc688bf84f833b713e865d9f839215d75d6
diff --git a/gwpy/timeseries/statevector.py b/gwpy/timeseries/statevector.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/statevector.py +++ b/gwpy/timeseries/statevector.py @@ -366,11 +366,15 @@ class StateVector(TimeSeries): """ if bits is None: bits = [b for b in self.bits if b is...
StateVector.get_bit_series: fixed bugs - presumably this function didn't work properly before
gwpy_gwpy
train
py
4f124615ecef706112ac0457c47399b7155d676d
diff --git a/app/Blueprint/Webserver/WebserverBlueprint.php b/app/Blueprint/Webserver/WebserverBlueprint.php index <HASH>..<HASH> 100644 --- a/app/Blueprint/Webserver/WebserverBlueprint.php +++ b/app/Blueprint/Webserver/WebserverBlueprint.php @@ -231,9 +231,9 @@ class WebserverBlueprint implements Blueprint { protect...
nginx image update to <I>
ipunkt_rancherize
train
php
d14dfa6a20fc03ef0aa9719ae4c2dec35b59404e
diff --git a/lib/mutator_rails/single_mutate.rb b/lib/mutator_rails/single_mutate.rb index <HASH>..<HASH> 100644 --- a/lib/mutator_rails/single_mutate.rb +++ b/lib/mutator_rails/single_mutate.rb @@ -9,6 +9,7 @@ module MutatorRails parms << preface(path.basename) + base parms << '> ' + log + log_dir...
FOrece log directory to be made
dinj-oss_mutator_rails
train
rb
b20646883b8fd97cbcab476140ec5d4bd150a0f6
diff --git a/eqcorrscan/core/match_filter.py b/eqcorrscan/core/match_filter.py index <HASH>..<HASH> 100644 --- a/eqcorrscan/core/match_filter.py +++ b/eqcorrscan/core/match_filter.py @@ -2982,10 +2982,7 @@ class Detection(object): chans=None, event=None, id=None): """Main class of Detection."...
Do not force detect_time to be UTCDateTime
eqcorrscan_EQcorrscan
train
py
e7ea19f9426827dda243a54b0f4386b5c29a3fb1
diff --git a/dgitcore/datasets/auto.py b/dgitcore/datasets/auto.py index <HASH>..<HASH> 100644 --- a/dgitcore/datasets/auto.py +++ b/dgitcore/datasets/auto.py @@ -14,7 +14,7 @@ from datetime import datetime # Exports ##################################################### -__all__ = ['auto_update', 'auto_init',]...
1. Export auto_get_repo as well
pingali_dgit
train
py
dfd931318c6f2e8a4cbdbd99de925b1978338ac8
diff --git a/resource_aws_ecs_task_definition_test.go b/resource_aws_ecs_task_definition_test.go index <HASH>..<HASH> 100644 --- a/resource_aws_ecs_task_definition_test.go +++ b/resource_aws_ecs_task_definition_test.go @@ -82,17 +82,19 @@ func testAccCheckAWSEcsTaskDefinitionDestroy(s *terraform.State) error { cont...
aws: Treat INACTIVE ECS TDs as deleted in acc tests - related to <URL>
terraform-providers_terraform-provider-aws
train
go
d309df2f1b821885a47fa8f2bf5401cf3e1ebf53
diff --git a/test/database_rewinder_test.rb b/test/database_rewinder_test.rb index <HASH>..<HASH> 100644 --- a/test/database_rewinder_test.rb +++ b/test/database_rewinder_test.rb @@ -2,6 +2,12 @@ require 'test_helper' class DatabaseRewinder::DatabaseRewinderTest < ActiveSupport::TestCase + if ActiveRecord::VERSION...
Actually use_transactional_tests for every test
amatsuda_database_rewinder
train
rb
f405c6e4d8985e3438be9c7dbec6d6f2fa015718
diff --git a/lib/accesslib.php b/lib/accesslib.php index <HASH>..<HASH> 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -4927,10 +4927,13 @@ function count_role_users($roleid, $context, $parent=false) { $parentcontexts = ''; } - $SQL = "SELECT count(*) - FROM {$CFG->prefix}role_a...
MDL-<I> count_role_users was showing different count to those returned from get_role_users(), based on patch from Patrick Pollett merged from MOODLE_<I>_STABLE
moodle_moodle
train
php
2b70d5cf8f525fba8d9286bd94451b2c4f18f0ae
diff --git a/lib/page.js b/lib/page.js index <HASH>..<HASH> 100644 --- a/lib/page.js +++ b/lib/page.js @@ -189,13 +189,15 @@ var Page = function( page_path, options ){ if (status == 404) { server.logger.log(page.route + ' [' + resource.name + '] ' + error, 3); } else { - ...
Do not report optional resource errors to Sentry
solidusjs_solidus
train
js
4d20908d5fb1343729cf96184037559f8844f45b
diff --git a/Swat/SwatCheckboxEntryList.php b/Swat/SwatCheckboxEntryList.php index <HASH>..<HASH> 100644 --- a/Swat/SwatCheckboxEntryList.php +++ b/Swat/SwatCheckboxEntryList.php @@ -134,7 +134,7 @@ class SwatCheckboxEntryList extends SwatCheckboxList $input_tag->removeAttribute('checked'); $input_tag->name = $...
Ticket #<I>, problems occured when two options with the same value were added to the checkbox entry list widget, now when the form is submitted the array keys of the options and those of the values are compared instead of the values names. This allows that right entries to remain checked and other entries with the same...
silverorange_swat
train
php
aa8bab94e5d2a905c1abd913684fc00ae6db7a69
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -20,16 +20,14 @@ HashBase.prototype.update = function (data, encoding) { if (!Buffer.isBuffer(data)) data = new Buffer(data, encoding || 'binary') // consume data + var block = this._block var offset = 0 while (...
Use this._block as local variable
crypto-browserify_hash-base
train
js
05a26b48300d21e2fe4358e24e6cbc02435603d7
diff --git a/test/index.js b/test/index.js index <HASH>..<HASH> 100644 --- a/test/index.js +++ b/test/index.js @@ -129,4 +129,21 @@ describe('render-to-string', () => { ); }); }); + + describe('className / class massaging', () => { + it('should render class using className', () => { + let rendered = render...
Tests for class/className support
developit_preact-render-to-string
train
js
0a48cde2b03d70c276ef4571de00e1c2aa5cead8
diff --git a/src/test/java/stormpot/PoolTest.java b/src/test/java/stormpot/PoolTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/stormpot/PoolTest.java +++ b/src/test/java/stormpot/PoolTest.java @@ -1302,6 +1302,33 @@ public class PoolTest { throws Exception { shutdown(fixture.initPool(config)).await(ti...
pools must be able to complete their shut down procedures even if the allocator has only ever returned null.
chrisvest_stormpot
train
java
aa381bce1bf2eb814ead6ce443dfad0580f4a79f
diff --git a/tscreen.go b/tscreen.go index <HASH>..<HASH> 100644 --- a/tscreen.go +++ b/tscreen.go @@ -398,9 +398,12 @@ func (t *tScreen) Fini() { t.clear = false t.fini = true - if t.quit != nil { + select { + case <-t.quit: + // do nothing, already closed + + default: close(t.quit) - t.quit = nil } ...
Fix data race in tScreen shutdown Setting t.quit to nil while the mainLoop is running causes a race condition when the Fini() method is called. This change instead uses a select expression to avoid the nil check and set.
gdamore_tcell
train
go
2ab3f288b8b1b0aecb130bc5f374778995c443f6
diff --git a/integration/integration_test.go b/integration/integration_test.go index <HASH>..<HASH> 100644 --- a/integration/integration_test.go +++ b/integration/integration_test.go @@ -37,6 +37,7 @@ import ( // Load all supported backends. _ "github.com/cayleygraph/cayley/graph/bolt" + _ "github.com/cayleygraph...
add memory profile and bolt2 to main/integration
cayleygraph_cayley
train
go
ea91db187eeff2a25c7cd2d4d206a92d6c1b644e
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -32,7 +32,8 @@ function takeScreenshot(title) { } function ProshotReporter(runner) { - runner.on('fail', function(test) { + runner.on('fail', function(test, err) { + test.err = err; return takeScreenshot(test.fullTitle...
Fix #1: Add a workaround for protractor depending on internal behavior of builtin mocha reporters
rluba_mocha-proshot
train
js
9ee3721dd2b6354409a3d4df682f45719ace8383
diff --git a/lib/xcore.js b/lib/xcore.js index <HASH>..<HASH> 100644 --- a/lib/xcore.js +++ b/lib/xcore.js @@ -237,7 +237,8 @@ XClient.prototype.unpackEvent = function(type, seq, extra, code, raw) var event = {}; // TODO: constructor & base functions // Remove the most significant bit. See Chapter 1, Event Fo...
Really fix the parsing of the event type field - Typo: use the bitwise operator and not the comparison operator
sidorares_node-x11
train
js
a5535bd913324a2e0be4526f2d7129618e36bdde
diff --git a/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java b/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java index <HASH>..<HASH> 100644 --- a/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java +++ b/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java @@ -31,7 +31,7 @@ import java...
Use a singleton list which is slightly more efficient.
square_okhttp
train
java
883e4df529e417512f67bbeb558d1473dccf5a93
diff --git a/lib/beaker-pe/install/pe_utils.rb b/lib/beaker-pe/install/pe_utils.rb index <HASH>..<HASH> 100644 --- a/lib/beaker-pe/install/pe_utils.rb +++ b/lib/beaker-pe/install/pe_utils.rb @@ -425,8 +425,8 @@ module Beaker end install_hosts.each do |host| - #windows agents from 4.0 ...
PE-<I> Fix windows frictionless upgrades There was an error with my previous PR. PE <I> to PE <I> were failing because the PE <I> install of the windows agent would attempt to install via frictionless, and not with the old msi method. This PR fixes this.
puppetlabs_beaker-pe
train
rb
776c4828074aa9ed218bc9300df25a47cd6c53da
diff --git a/app/src/Bolt/Application.php b/app/src/Bolt/Application.php index <HASH>..<HASH> 100644 --- a/app/src/Bolt/Application.php +++ b/app/src/Bolt/Application.php @@ -9,7 +9,7 @@ class Application extends BaseApplication public function __construct(array $values = array()) { $values['bolt_ver...
Bumping version to "<I> beta".
bolt_bolt
train
php
03cf8bfc14a29af99c53e96c369e49e718d657d0
diff --git a/lib/specinfra/helper/configuration.rb b/lib/specinfra/helper/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/specinfra/helper/configuration.rb +++ b/lib/specinfra/helper/configuration.rb @@ -33,6 +33,7 @@ module Specinfra else value = RSpec.configuration.send(c) if defined?(R...
Work around for avoid unintentional replacing of lxc configuration
mizzy_specinfra
train
rb
26ed8141e6f076c4631e77b1379272d646e7666e
diff --git a/pdfwatermarker/watermark/utils.py b/pdfwatermarker/watermark/utils.py index <HASH>..<HASH> 100644 --- a/pdfwatermarker/watermark/utils.py +++ b/pdfwatermarker/watermark/utils.py @@ -19,13 +19,12 @@ def bundle_dir(): def register_font(font='Vera.ttf'): """Register fonts for report labs canvas.""" - ...
Created utils.py within the watermark module to house helper functions called on imports
mrstephenneal_pdfconduit
train
py
e8535b51510748ed52d51f19225ddbcc3f382c9d
diff --git a/src/props.js b/src/props.js index <HASH>..<HASH> 100644 --- a/src/props.js +++ b/src/props.js @@ -1,4 +1,15 @@ export default { + type: { + type: String, + required: true, + validator: function(value) { + return ( + ["card", "iban", "postalCode", "cardNumber", "cardExpiry", "cardCvc"...
update(props): extracted props from StripeElement component
Cl3MM_vue-stripe-better-elements
train
js
a0fb0bbad312df06dd0a85453bd4f93ee2e01cbb
diff --git a/airflow/executors/local_executor.py b/airflow/executors/local_executor.py index <HASH>..<HASH> 100644 --- a/airflow/executors/local_executor.py +++ b/airflow/executors/local_executor.py @@ -125,12 +125,12 @@ class LocalWorkerBase(Process, LoggingMixin): ret = 0 return State.SUCCES...
Log exception in local executor (#<I>)
apache_airflow
train
py
ff80d0e79e15130eab060521ede07a2255de2499
diff --git a/example/src/screens/FirstTabScreen.js b/example/src/screens/FirstTabScreen.js index <HASH>..<HASH> 100644 --- a/example/src/screens/FirstTabScreen.js +++ b/example/src/screens/FirstTabScreen.js @@ -137,6 +137,11 @@ export default class FirstTabScreen extends Component { Navigation.startSingleScreenApp...
Fix example "show single screen app" now will show the side menu (drawer) (#<I>)
wix_react-native-navigation
train
js
6cf4fce09734dea4bac3f3399ee00d5a8f2e3b84
diff --git a/binstar_client/utils/projects/tests/test_projects.py b/binstar_client/utils/projects/tests/test_projects.py index <HASH>..<HASH> 100644 --- a/binstar_client/utils/projects/tests/test_projects.py +++ b/binstar_client/utils/projects/tests/test_projects.py @@ -4,7 +4,7 @@ from binstar_client.utils.projects im...
Make test_projects.py::test_get_files deterministic It relied on list order that apparently was not guaranteed. Sort the list explicitly.
Anaconda-Platform_anaconda-client
train
py
96e206351fafde93f599b0dad674fbfbc1dde23b
diff --git a/openquake/engine/tools/make_html_report.py b/openquake/engine/tools/make_html_report.py index <HASH>..<HASH> 100644 --- a/openquake/engine/tools/make_html_report.py +++ b/openquake/engine/tools/make_html_report.py @@ -164,7 +164,7 @@ SELECT description, oq_job_id, FROM uiapi.job_stats AS s INNER JOIN...
Failed computations without a JobParam record must appear in the HTML report
gem_oq-engine
train
py
f5c74e6869b54bf6d16bb8493d3c76e9fb65bec5
diff --git a/createdb.py b/createdb.py index <HASH>..<HASH> 100755 --- a/createdb.py +++ b/createdb.py @@ -31,4 +31,9 @@ if '--with-dev-data' in sys.argv: detail_name="registration id", icon="phone", placeholder="laksdjfasdlfkj183097falkfj109f" ) + context4 = fmn.lib.models.Context.create( + ...
Add the desktop context to the setup script.
fedora-infra_fmn.lib
train
py
2ba737a6a56df0eab56ce78ef0e284429474d774
diff --git a/spec/functional/resource/registry_spec.rb b/spec/functional/resource/registry_spec.rb index <HASH>..<HASH> 100644 --- a/spec/functional/resource/registry_spec.rb +++ b/spec/functional/resource/registry_spec.rb @@ -55,19 +55,13 @@ describe Chef::Resource::RegistryKey, :windows_only do def clean_registr...
changing tests to use new delete function to delete keys
chef_chef
train
rb
88f9cf21c81684a18af7285bd0e3851fe5227f3c
diff --git a/tests/block/test_get_span.py b/tests/block/test_get_span.py index <HASH>..<HASH> 100644 --- a/tests/block/test_get_span.py +++ b/tests/block/test_get_span.py @@ -52,15 +52,13 @@ def test(first_node_with_tokens): assert result == (1, 13) -@pytest.mark.parametrize( - 'code_str', [ - ''' +@...
Fix lint: reformat example in get_span tests
jamescooke_flake8-aaa
train
py
a1566dcf02688b1dead42ba4ae17a8f0f56643e5
diff --git a/react/Text/Text.js b/react/Text/Text.js index <HASH>..<HASH> 100644 --- a/react/Text/Text.js +++ b/react/Text/Text.js @@ -49,6 +49,8 @@ const Text = ({ </span> ); +Text.displayName = 'Text'; + Text.propTypes = { children: PropTypes.node.isRequired, className: PropTypes.string,
fix(Text): Add display name to Text component (#<I>) Due to decorating while shallow render snapshots are getting DecoratedComponent rendered instead of Text
seek-oss_seek-style-guide
train
js
df866a976873479d2197f55dcc7800227fd434bc
diff --git a/src/helpers.php b/src/helpers.php index <HASH>..<HASH> 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -111,8 +111,10 @@ if (! function_exists('config')) { if (! function_exists('file_size_convert')) { function file_size_convert($size) { + if ($size === 0) { + return '0 b...
:bug: fixed a divide by zero in file_size_convert
tapestry-cloud_tapestry
train
php
83d85454455b5522ba8799c995d2005b8d6940b1
diff --git a/src/unique.js b/src/unique.js index <HASH>..<HASH> 100644 --- a/src/unique.js +++ b/src/unique.js @@ -1,5 +1,5 @@ import _ from 'lodash' -const unique = Symbol('lacona-unique-key') +const unique = Symbol.for('lacona-unique-key') export default unique
Use symbol.for for node environments with potentially multiple loads
laconalabs_elliptical
train
js
9931b3e1833c2502c03f2f345bae7eae875c06da
diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyI...
[Messenger] fix broken key normalization
symfony_symfony
train
php
b3a6f27c1edf5d0f366effef482521a8c692e133
diff --git a/tapeforms/fieldsets.py b/tapeforms/fieldsets.py index <HASH>..<HASH> 100644 --- a/tapeforms/fieldsets.py +++ b/tapeforms/fieldsets.py @@ -147,7 +147,7 @@ class TapeformFieldsetsMixin: fieldsets = fieldsets or self.fieldsets if not fieldsets: - raise StopIteration + ...
Replace StopIteration raising by return
stephrdev_django-tapeforms
train
py
71bc6ff9b4676e3f056266a04966b01a9f3e6216
diff --git a/docs/_component/editor.client.js b/docs/_component/editor.client.js index <HASH>..<HASH> 100644 --- a/docs/_component/editor.client.js +++ b/docs/_component/editor.client.js @@ -119,6 +119,15 @@ export const Editor = ({children}) => { ) const stats = state.file ? statistics(state.file) : {} + // C...
Fix playground exceptions (#<I>) Closes GH-<I>.
mdx-js_mdx
train
js
d2699c759b4751741c1d30752f14dd61993b3be5
diff --git a/th_evernote/tests.py b/th_evernote/tests.py index <HASH>..<HASH> 100644 --- a/th_evernote/tests.py +++ b/th_evernote/tests.py @@ -17,7 +17,7 @@ except ImportError: import mock -cache = caches['th_evernote'] +cache = caches['django_th'] class EvernoteTest(MainTest): @@ -138,9 +138,6 @@ class S...
Dropped get config cache and replaced variable REPLACED: cache = caches['th_<service>'] With cache = caches['django_th'] REMOVED: def test_get_config_th_cache(self): self.assertIn('th_rss', settings.CACHES)
push-things_django-th
train
py
403bda833422264fa3246973faf7b7e08cdb0650
diff --git a/test/instrumentation/modules/pg/knex.js b/test/instrumentation/modules/pg/knex.js index <HASH>..<HASH> 100644 --- a/test/instrumentation/modules/pg/knex.js +++ b/test/instrumentation/modules/pg/knex.js @@ -13,6 +13,11 @@ var agent = require('../../../..').start({ var knexVersion = require('knex/package')....
fix(tests): skip testing knex >=<I> with node v8 (#<I>) Fixes #<I>
elastic_apm-agent-nodejs
train
js
f49a40609ea3011e05aa54553a8559055e93044e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages setup( name='psamm', version='0.7', - description='PSAMM metabolic modelrm -ing tools', + description='PSAMM metabolic modeling tools', maintainer=...
Fix accidental typo in setup.py
zhanglab_psamm
train
py
e0763b2abfa5095d82a4035ed00cc44b47228858
diff --git a/webpack/test.js b/webpack/test.js index <HASH>..<HASH> 100644 --- a/webpack/test.js +++ b/webpack/test.js @@ -15,7 +15,7 @@ const config = merge.smart(baseConfig, { }, { test: /targets\/.*\.js$/, - loader: 'null', + loader: 'babel?presets[]=es2015', }, ], ...
chore(targets): allow es6 for targets code
xodio_xod
train
js
85766ba40ed53be70586dbdebeafcd0cbd5c1325
diff --git a/src/Bootstrap/Drupal.php b/src/Bootstrap/Drupal.php index <HASH>..<HASH> 100644 --- a/src/Bootstrap/Drupal.php +++ b/src/Bootstrap/Drupal.php @@ -257,7 +257,8 @@ class Drupal implements DrupalInterface { $drupal = new DrupalConsoleCore( $this->drupalFinder->getComposerRoot(), - ...
"[console] Pass DrupalFinder to DrupalConsoleCore." (#<I>) * [console] Show message only on list command. * [console] Pass DrupalFinder to DrupalConsoleCore.
hechoendrupal_drupal-console
train
php
fca1185935ec1454b5374f2b656d8c9f79d55056
diff --git a/lib/operations/collection_ops.js b/lib/operations/collection_ops.js index <HASH>..<HASH> 100644 --- a/lib/operations/collection_ops.js +++ b/lib/operations/collection_ops.js @@ -233,7 +233,7 @@ function countDocuments(coll, query, options, callback) { coll.aggregate(pipeline, options, (err, result) => {...
fix(count-documents): return callback on error case otherwise the scucess handler is called, which results into further missleading errors (e.g. length is not defined)
mongodb_node-mongodb-native
train
js
c02de2329bd6503cf07127b3a66f4682edd6f501
diff --git a/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/MIMEType.java b/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/MIMEType.java index <HASH>..<HASH> 100644 --- a/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/MIMEType.java +++ b/httpcache4j-api/src/main/java/org/codehaus/httpcache4j/MIM...
- hashcodebuilder expected first number to be odd git-svn-id: file:///home/projects/httpcache4j/tmp/scm-svn-tmp/trunk@<I> aeef7db8-<I>a-<I>-b<I>-bac<I>ff<I>f6
httpcache4j_httpcache4j
train
java
fd88a56c5518734faf7438a948b582997d6b2f8a
diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -63,7 +63,7 @@ module Jekyll # # Returns <String> def dir - path = @categories ? '/' + @categories.join('/') : '' + path = (@categories && !@categories.empty?) ?...
fix double slash caused by empty categories
jekyll_jekyll
train
rb
001f842e23f1c5e784e26042c0f52c1d2c1abf7a
diff --git a/provider/azure/azure_discover.go b/provider/azure/azure_discover.go index <HASH>..<HASH> 100644 --- a/provider/azure/azure_discover.go +++ b/provider/azure/azure_discover.go @@ -117,6 +117,8 @@ func fetchAddrsWithTags(tagName string, tagValue string, vmnet network.Interface var id string if v.ID != n...
better message in case id is nil
hashicorp_go-discover
train
go
9811cfa802bee5707276d77ffc958e5ab3ccc213
diff --git a/src/shared/js/ch.Validation.js b/src/shared/js/ch.Validation.js index <HASH>..<HASH> 100644 --- a/src/shared/js/ch.Validation.js +++ b/src/shared/js/ch.Validation.js @@ -180,7 +180,7 @@ this.error = null; this - .on('exists', function (data) { + .on('exist', functi...
#<I> Factory: rename exists with exist
mercadolibre_chico
train
js,js
1610ad84ca184bf43a11784134a89cf995d1cfb5
diff --git a/lib/jsonapi/resource.rb b/lib/jsonapi/resource.rb index <HASH>..<HASH> 100644 --- a/lib/jsonapi/resource.rb +++ b/lib/jsonapi/resource.rb @@ -537,6 +537,7 @@ module JSONAPI associations = _lookup_association_chain([records.model.to_s, *model_names]) joins_query = _build_joins(...
Add comment for order by query and fix typo
cerebris_jsonapi-resources
train
rb,rb
a62dd3b7805e925daa2c6920522ec973d4f39828
diff --git a/test/extended/images/layers.go b/test/extended/images/layers.go index <HASH>..<HASH> 100644 --- a/test/extended/images/layers.go +++ b/test/extended/images/layers.go @@ -66,8 +66,7 @@ var _ = g.Describe("[Feature:ImageLayers] Image layer subresource", func() { if !ok { return false, nil } - ...
ImageLayers test should loop until image is missing In the event we do fill the cache
openshift_origin
train
go
8c708b4f3d104e0de00f9f13ff88a10a5bb68c24
diff --git a/harpoon/overview.py b/harpoon/overview.py index <HASH>..<HASH> 100644 --- a/harpoon/overview.py +++ b/harpoon/overview.py @@ -176,7 +176,10 @@ class Harpoon(object): configuration.converters.done(path, meta.result) for key, v in val.items(ignore_converters=True): + ...
Make sure converter doesn't trip over itself
delfick_harpoon
train
py
9693695d2b732c5a0298f90db8fabadaee780da6
diff --git a/examples/i18n/I18n.php b/examples/i18n/I18n.php index <HASH>..<HASH> 100644 --- a/examples/i18n/I18n.php +++ b/examples/i18n/I18n.php @@ -9,12 +9,12 @@ class I18n extends Mustache { public $__ = array(__CLASS__, '__trans'); // A *very* small i18n dictionary :) - private $dictionary = array( ...
Fix E_STRICT failure in i<I>n example.
bobthecow_mustache.php
train
php
13a371c5a2bb213d069dd6c3b33802edc54b13fa
diff --git a/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/cache/JCacheMetrics.java b/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/cache/JCacheMetrics.java index <HASH>..<HASH> 100644 --- a/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/cache/JCacheMetrics....
Nit - fix JCache put gauge description
micrometer-metrics_micrometer
train
java
f34a65b66a0f8787cea67b9e971f0bfb7ddd7237
diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py index <HASH>..<HASH> 100644 --- a/pandas/tests/groupby/test_apply.py +++ b/pandas/tests/groupby/test_apply.py @@ -1177,3 +1177,25 @@ def test_apply_empty_string_nan_coerce_bug(): index=MultiIndex.from_tuples([(1, ""), (2, "")]...
TST: group by - apply Key Error (#<I>) * Test for Group By - Apply Key Error * Paramaters change
pandas-dev_pandas
train
py
91537a888d790f39e734a63c06f6439b2b7877bf
diff --git a/lib/completionlib.php b/lib/completionlib.php index <HASH>..<HASH> 100644 --- a/lib/completionlib.php +++ b/lib/completionlib.php @@ -652,7 +652,7 @@ WHERE return $result; } - public function inform_grade_changed($cm, &$item, &$grade, $deleted) { + public function inform_grade_changed...
MDL-<I> & operator is often not needed in PHP5 in method definition
moodle_moodle
train
php
bbe881f882d949f5de15e9663e1fbc2d578d3058
diff --git a/generators/server/index.js b/generators/server/index.js index <HASH>..<HASH> 100644 --- a/generators/server/index.js +++ b/generators/server/index.js @@ -635,7 +635,7 @@ module.exports = class JHipsterServerGenerator extends BaseBlueprintGenerator { 'java:docker:dev': 'npm run java:docker -- -Pd...
variabilize container reuse flag on testcontainers and set it to false on CI
jhipster_generator-jhipster
train
js
92574de13ad1c4a03a3bfe9fadebec8781b6b0ba
diff --git a/lib/bson/binary.rb b/lib/bson/binary.rb index <HASH>..<HASH> 100644 --- a/lib/bson/binary.rb +++ b/lib/bson/binary.rb @@ -134,7 +134,7 @@ module BSON encode_binary_data_with_placeholder(encoded) do |encoded| encoded << SUBTYPES.fetch(type) encoded << data.bytesize.to_bson if type =...
Encode to UTF-8 before forcing BINARY encoding in Binary#to_bson
mongodb_bson-ruby
train
rb
208b32aac7a29d0f4f608201839b009000dd63c5
diff --git a/lib/less/environments/browser.js b/lib/less/environments/browser.js index <HASH>..<HASH> 100644 --- a/lib/less/environments/browser.js +++ b/lib/less/environments/browser.js @@ -172,15 +172,6 @@ less.Parser.environment = { var hrefParts = this.extractUrlParts(filename, window.location.href); ...
remove commented out code now implemented in parser
less_less.js
train
js
8a392d4ebcbf231d45272a4d987f3a81db438254
diff --git a/src/main/java/org/zeroturnaround/zip/ZipUtil.java b/src/main/java/org/zeroturnaround/zip/ZipUtil.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/zeroturnaround/zip/ZipUtil.java +++ b/src/main/java/org/zeroturnaround/zip/ZipUtil.java @@ -357,6 +357,9 @@ public final class ZipUtil { try { ...
Breaking from the iterate method with an exception
zeroturnaround_zt-zip
train
java
caada65f9bb6abfede5560466ed33b88a4305c5d
diff --git a/core-bundle/src/EventListener/InitializeSystemListener.php b/core-bundle/src/EventListener/InitializeSystemListener.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/EventListener/InitializeSystemListener.php +++ b/core-bundle/src/EventListener/InitializeSystemListener.php @@ -42,6 +42,11 @@ class Init...
[Core] do not boot Contao's Framework twice
contao_contao
train
php
390b999aa80c60fd86156f5da70caa46fb870670
diff --git a/lib/rufus/decision/hashes.rb b/lib/rufus/decision/hashes.rb index <HASH>..<HASH> 100644 --- a/lib/rufus/decision/hashes.rb +++ b/lib/rufus/decision/hashes.rb @@ -203,11 +203,18 @@ module Decision # def self.check_and_eval(ruby_code, bndng=binding()) - TREECHECKER.check(ruby_code) - + begin + ...
wrap some potential exception points for ruby_eval with more info
jmettraux_rufus-decision
train
rb,rb
4c5bef3b320104d9838db4cb60637b547f32848a
diff --git a/pymatgen/core/tests/test_lattice.py b/pymatgen/core/tests/test_lattice.py index <HASH>..<HASH> 100644 --- a/pymatgen/core/tests/test_lattice.py +++ b/pymatgen/core/tests/test_lattice.py @@ -476,7 +476,7 @@ class LatticeTestCase(PymatgenTest): s1 = np.array([0.5, -1.5, 3]) s2 = np.array([0...
TST: Fix typo in Lattice tests
materialsproject_pymatgen
train
py
a098a71ad00626322eeff8d421f25e2236b571b3
diff --git a/shoebot/__init__.py b/shoebot/__init__.py index <HASH>..<HASH> 100644 --- a/shoebot/__init__.py +++ b/shoebot/__init__.py @@ -82,6 +82,9 @@ class Bot: self.WIDTH = Bot.DEFAULT_WIDTH self.HEIGHT = Bot.DEFAULT_HEIGHT + + if self.gtkmode: + import gtkexcepthook ...
fixed a minor error with gtkexcepthook that prevented to redirect some exceptions
shoebot_shoebot
train
py