hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
ce89f91b0e27a5d5e3bdb661a5c5cae7a52829af
diff --git a/cherrypy/_cpserver.py b/cherrypy/_cpserver.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cpserver.py +++ b/cherrypy/_cpserver.py @@ -15,8 +15,6 @@ STOPPED = 0 STARTING = None STARTED = 1 -seen_threads = {} - _missing = object() @@ -26,6 +24,7 @@ class Server(object): def __init__(self)...
seen_threads really should belong to the Server class.
cherrypy_cheroot
train
781f23f646f543bcd0ec6f36ca06a58e8333577f
diff --git a/examples/android/cukeulator-test/src/cucumber/example/android/cukeulator/test/Utils.java b/examples/android/cukeulator-test/src/cucumber/example/android/cukeulator/test/Utils.java index <HASH>..<HASH> 100644 --- a/examples/android/cukeulator-test/src/cucumber/example/android/cukeulator/test/Utils.java +++ ...
Properly interrupt thread. Closes #<I>.
cucumber_cucumber-jvm
train
cf675000cb4f45ef1b4d21e54dbaea3e223b528c
diff --git a/lib/state_machine.rb b/lib/state_machine.rb index <HASH>..<HASH> 100644 --- a/lib/state_machine.rb +++ b/lib/state_machine.rb @@ -25,6 +25,7 @@ module AASM def clone klone = super klone.states = states.clone + klone.events = events.clone klone end
clone events as well as states to allow duplicate event names in subclasses
aasm_aasm
train
de83b9109d43e08eaea33e8ce8227840ff271f35
diff --git a/metpy/calc/tests/test_indices.py b/metpy/calc/tests/test_indices.py index <HASH>..<HASH> 100644 --- a/metpy/calc/tests/test_indices.py +++ b/metpy/calc/tests/test_indices.py @@ -4,14 +4,18 @@ """Test the `indices` module.""" from datetime import datetime +import warnings from metpy.calc import (bulk...
MNT: Silence our own deprecation warning from tests
Unidata_MetPy
train
e203306d6cd1147fa30eaac9e982584e53a74fb5
diff --git a/src/extensions/cytoscape.renderer.canvas.js b/src/extensions/cytoscape.renderer.canvas.js index <HASH>..<HASH> 100644 --- a/src/extensions/cytoscape.renderer.canvas.js +++ b/src/extensions/cytoscape.renderer.canvas.js @@ -3598,6 +3598,12 @@ for (var i = 0; i < hashTable[pairId].length; i++) { edge...
control point caching needs to take into account changing sets of parallel edges
cytoscape_cytoscape.js
train
5787e8598a31a5811283568cc9536e091148a94b
diff --git a/test/models.rb b/test/models.rb index <HASH>..<HASH> 100644 --- a/test/models.rb +++ b/test/models.rb @@ -30,7 +30,7 @@ class Post key :title, String key :body, String - has_many :comments, :as => :commentable, :class_name => 'PostComment' + many :comments, :as => :commentable, :class_name => 'Po...
update has_many in test model to many.
mongomapper_mongomapper
train
2d972400d9c59f13db88b181e094b4a59bf09909
diff --git a/lionengine-core-awt/src/main/java/com/b3dgs/lionengine/awt/KeyboardAwt.java b/lionengine-core-awt/src/main/java/com/b3dgs/lionengine/awt/KeyboardAwt.java index <HASH>..<HASH> 100644 --- a/lionengine-core-awt/src/main/java/com/b3dgs/lionengine/awt/KeyboardAwt.java +++ b/lionengine-core-awt/src/main/java/com...
#<I>: Char released fixed.
b3dgs_lionengine
train
9386880cc48c065d94db463ecc93214789f3bbb3
diff --git a/packages/plugin-conversation/test/integration/spec/share.js b/packages/plugin-conversation/test/integration/spec/share.js index <HASH>..<HASH> 100644 --- a/packages/plugin-conversation/test/integration/spec/share.js +++ b/packages/plugin-conversation/test/integration/spec/share.js @@ -211,7 +211,6 @@ descr...
refactor(plugin-conversation): respond to code review comments
webex_spark-js-sdk
train
4349e5815b16fbd76f7ffc469148e0de45159fba
diff --git a/src/React/Widgets/CollapsibleWidget/index.js b/src/React/Widgets/CollapsibleWidget/index.js index <HASH>..<HASH> 100644 --- a/src/React/Widgets/CollapsibleWidget/index.js +++ b/src/React/Widgets/CollapsibleWidget/index.js @@ -13,6 +13,7 @@ export default React.createClass({ title: React.PropTypes.stri...
fix(Widgets): Various update for LightViz
Kitware_paraviewweb
train
57600c8f7bcf60821c6dbc4efc968c54a316547c
diff --git a/README.rdoc b/README.rdoc index <HASH>..<HASH> 100644 --- a/README.rdoc +++ b/README.rdoc @@ -33,7 +33,7 @@ v0.5.2 introduced the ability to set an expiration date for a shortened URL. The are stored in a expires_at column in the database, which can be added to your schema with the following migration: ...
Set migrations to the lowest common denominator <I> for now, because ActiveRecord stops allowing direct inheritance of migrations suddenly?
jpmcgrath_shortener
train
71c246b4592ef9a322abe23f3eaf7e039b4acac2
diff --git a/spec/cycle.base.spec.js b/spec/cycle.base.spec.js index <HASH>..<HASH> 100644 --- a/spec/cycle.base.spec.js +++ b/spec/cycle.base.spec.js @@ -131,6 +131,25 @@ } ); + describe( 'The mixin should be protected from modification', function () { + + it( 'when overwriting the next(...
Added tests ensuring mixin integrity
hashchange_backbone.cycle
train
0698df017259465c17a6b8fa86605e3a1aa835cb
diff --git a/PyHardLinkBackup/__init__.py b/PyHardLinkBackup/__init__.py index <HASH>..<HASH> 100644 --- a/PyHardLinkBackup/__init__.py +++ b/PyHardLinkBackup/__init__.py @@ -1 +1 @@ -__version__ = "0.1.5" \ No newline at end of file +__version__ = "0.1.6" \ No newline at end of file diff --git a/PyHardLinkBackup/backu...
remove checks: doesn't work with py3 venv
jedie_PyHardLinkBackup
train
49110ce3636947dd37b5ecb09306d7cd5b08843b
diff --git a/template/app/view/tree/Tree.js b/template/app/view/tree/Tree.js index <HASH>..<HASH> 100644 --- a/template/app/view/tree/Tree.js +++ b/template/app/view/tree/Tree.js @@ -34,51 +34,8 @@ Ext.define('Docs.view.tree.Tree', { this.on("itemclick", this.onItemClick, this); - this.dockedItems =...
Remove old history/favorites dropdowns.
senchalabs_jsduck
train
65c13f2af5ec3b66c525fea52c0e1bbe3c9c4ee7
diff --git a/lib/rango/controller.rb b/lib/rango/controller.rb index <HASH>..<HASH> 100644 --- a/lib/rango/controller.rb +++ b/lib/rango/controller.rb @@ -95,7 +95,9 @@ module Rango if (300..399).include?(status) exception = Redirection.new(absolute_uri(location)) exception.status = status - ...
Do not set cookies if there aren't any
botanicus_rango
train
1f365261b674ec32d127e8e777df2b0ec1cb60cc
diff --git a/spec/operators/repeat-spec.js b/spec/operators/repeat-spec.js index <HASH>..<HASH> 100644 --- a/spec/operators/repeat-spec.js +++ b/spec/operators/repeat-spec.js @@ -86,10 +86,12 @@ describe('Observable.prototype.repeat()', function () { }); it('should not complete when source never completes', fun...
test(repeat): improve subscription assertions on repeat tests
ReactiveX_rxjs
train
7fd2845a6de476545b590dafc4337e68f16f00a4
diff --git a/lib/flapjack/gateways/api.rb b/lib/flapjack/gateways/api.rb index <HASH>..<HASH> 100644 --- a/lib/flapjack/gateways/api.rb +++ b/lib/flapjack/gateways/api.rb @@ -323,8 +323,8 @@ module Flapjack errors << "No contacts with IDs were submitted" else contacts = Flapjack::Da...
clean up hash construction code in API
flapjack_flapjack
train
c7085707d3ba1f0d8ea714b84fcf0fee9fe4c9ac
diff --git a/src/Command/LinkScannerCommand.php b/src/Command/LinkScannerCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/LinkScannerCommand.php +++ b/src/Command/LinkScannerCommand.php @@ -46,9 +46,6 @@ class LinkScannerCommand extends Command //Will trigger events provided by `LinkScannerCommand...
`disable-external-links` option renamed as `no-external-links`
mirko-pagliai_cakephp-link-scanner
train
0f42cd83e126876ba589e023337d97dc22e026e7
diff --git a/src/components/Image/index.js b/src/components/Image/index.js index <HASH>..<HASH> 100644 --- a/src/components/Image/index.js +++ b/src/components/Image/index.js @@ -11,6 +11,8 @@ const STATUS_LOADING = 'LOADING' const STATUS_PENDING = 'PENDING' const STATUS_IDLE = 'IDLE' +const imageStyleKeys = Object...
Component stylePropTypes keys as constants
necolas_react-native-web
train
db2080290772730ccc5421929020383a0ac47c97
diff --git a/src/Http/Middleware/StoreBreadcrumb.php b/src/Http/Middleware/StoreBreadcrumb.php index <HASH>..<HASH> 100644 --- a/src/Http/Middleware/StoreBreadcrumb.php +++ b/src/Http/Middleware/StoreBreadcrumb.php @@ -4,6 +4,7 @@ namespace Code16\Sharp\Http\Middleware; use Closure; use Illuminate\Http\Request; +us...
Replace last breadcrumb by the one in Referer to handle querystring well
code16_sharp
train
171a5464adb196b79f87e08f814e925b3335c407
diff --git a/lib/unexpected.js b/lib/unexpected.js index <HASH>..<HASH> 100644 --- a/lib/unexpected.js +++ b/lib/unexpected.js @@ -153,7 +153,7 @@ var root = this; } Unexpected.prototype.clone = function () { - var unexpected = new Unexpected(objectCreate(this.assertions)); + var unexpected = ...
Copying the assertions map for clones instead of using the prototype chain. Using the prototype chain resulted in toString and findSimilarAssertions reported incorrect results as they used getKeys.
unexpectedjs_unexpected
train
0be13b4b5f8c05f5a0584d61ee8cb6e8b3c31d71
diff --git a/Geopunt.php b/Geopunt.php index <HASH>..<HASH> 100644 --- a/Geopunt.php +++ b/Geopunt.php @@ -18,6 +18,7 @@ use Geocoder\Exception\InvalidServerResponse; use Geocoder\Exception\UnsupportedOperation; use Geocoder\Http\Provider\AbstractHttpProvider; use Geocoder\Model\Address; +use Geocoder\Model\AddressB...
Update Geopunt.php Use AddressBuilder. Fix bounds.
geo6_geocoder-php-geopunt-provider
train
2460e5e781f167135eb41761b9e9526102fc951c
diff --git a/hazelcast/src/main/java/com/hazelcast/internal/nearcache/impl/store/AbstractNearCacheRecordStore.java b/hazelcast/src/main/java/com/hazelcast/internal/nearcache/impl/store/AbstractNearCacheRecordStore.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/internal/nearcache/impl/store...
Small cleanup of AbstractNearCacheRecordStore methods
hazelcast_hazelcast
train
cb2d83a0e03be8504b0e26a097662a2236784d9f
diff --git a/public/themes/default/archive.blade.php b/public/themes/default/archive.blade.php index <HASH>..<HASH> 100644 --- a/public/themes/default/archive.blade.php +++ b/public/themes/default/archive.blade.php @@ -21,7 +21,7 @@ @include(theme_view('inc.post')) @endforeach - {{ $posts->links() }} +...
Fixes #<I> - Add pagination appends so the search is passed.
wardrobecms_core-archived
train
ee3362bff5a8dab02d09fb85b1d7dfca41a99163
diff --git a/lib/Doctrine/ODM/PHPCR/Document/AbstractFile.php b/lib/Doctrine/ODM/PHPCR/Document/AbstractFile.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ODM/PHPCR/Document/AbstractFile.php +++ b/lib/Doctrine/ODM/PHPCR/Document/AbstractFile.php @@ -23,6 +23,8 @@ use Doctrine\ODM\PHPCR\Mapping\Annotations as PHPCR...
make AbstractFile mapped and add the mixin
doctrine_phpcr-odm
train
7859a87ef94528c4a522ee16385fba4b6c3af4f1
diff --git a/src/bwtypes.py b/src/bwtypes.py index <HASH>..<HASH> 100644 --- a/src/bwtypes.py +++ b/src/bwtypes.py @@ -127,13 +127,13 @@ class Frame(object): po_type_num = int(po_type[1:]) po_type_dotted = None elif po_type.endswith(':'): - ...
Set payload object type octets as tuples when reading frame from socket
SoftwareDefinedBuildings_bw2python
train
5b863eb3a81ec321b6edd76519c98eeec35801f1
diff --git a/pyemma/coordinates/tests/test_mini_batch_kmeans.py b/pyemma/coordinates/tests/test_mini_batch_kmeans.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/tests/test_mini_batch_kmeans.py +++ b/pyemma/coordinates/tests/test_mini_batch_kmeans.py @@ -6,34 +6,33 @@ from pyemma.coordinates.api import source ...
[coordinates/kmeans] adjusted test cases
markovmodel_PyEMMA
train
644f2cd55506f81054d55f4fc208100ff108cb26
diff --git a/lib/docile/fallback_context_proxy.rb b/lib/docile/fallback_context_proxy.rb index <HASH>..<HASH> 100644 --- a/lib/docile/fallback_context_proxy.rb +++ b/lib/docile/fallback_context_proxy.rb @@ -54,7 +54,7 @@ module Docile # and then to `fallback` if not found. def method_missing(method, *args, &b...
Replace unused exception variable with wildcard
ms-ati_docile
train
0193c1d4bd4e686ae82228350d17696db8905fee
diff --git a/sdks/browser/crud.io.client.js b/sdks/browser/crud.io.client.js index <HASH>..<HASH> 100644 --- a/sdks/browser/crud.io.client.js +++ b/sdks/browser/crud.io.client.js @@ -109,8 +109,12 @@ error && error(crud.output(loadObject.error.message)); } else { + + //TODO: +// if (loadObj...
Stub for advanced cache stuff in browser SDK.
balderdashy_mast
train
a28e28b22c154b878aa3e76e4f4700950b226585
diff --git a/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/export/prometheus/PrometheusExportConfiguration.java b/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/export/prometheus/PrometheusExportConfiguration.java index <HASH>..<HASH> 100644 --- a/micrometer-spring...
Don't require management.metrics.export.prometheus.enabled to be explicitly set to use pushgateway
micrometer-metrics_micrometer
train
ea7865b51c13a9d618f963e86ec3eca5a039df1c
diff --git a/src/js/utils/PropTypes/controlled.js b/src/js/utils/PropTypes/controlled.js index <HASH>..<HASH> 100644 --- a/src/js/utils/PropTypes/controlled.js +++ b/src/js/utils/PropTypes/controlled.js @@ -15,7 +15,7 @@ export default function controlled(validator, funcName, fallbackPropName = 'defa const propFul...
Updated controlled prop validation for disabled The controlled prop validation will now ignore the disabled prop as well. So the validation will not fail if the readOnly or disabled props are enabled on a component. Closes #<I>
mlaursen_react-md
train
e8656b4f5d96a181b30c2e9997408cb20a72c42c
diff --git a/src/Command/Variable/VariableCreateCommand.php b/src/Command/Variable/VariableCreateCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/Variable/VariableCreateCommand.php +++ b/src/Command/Variable/VariableCreateCommand.php @@ -83,9 +83,7 @@ class VariableCreateCommand extends VariableCommandBase ...
Fix variable:create when an environment other than the current branch is given
platformsh_platformsh-cli
train
2646ec356ae605bfd596f18f3724bcb46a0d0e5d
diff --git a/tests/server.py b/tests/server.py index <HASH>..<HASH> 100644 --- a/tests/server.py +++ b/tests/server.py @@ -59,15 +59,13 @@ class PresetServer: self.loop, old_protocol, self.tls_context, waiter, server_side=True, call_connection_made=False) - old_transport._protocol = t...
Fixed tests on uvloop
cole_aiosmtplib
train
5adaae04d59efc600dd91a8c2419b31a8be9b1eb
diff --git a/any_urlfield/forms/fields.py b/any_urlfield/forms/fields.py index <HASH>..<HASH> 100644 --- a/any_urlfield/forms/fields.py +++ b/any_urlfield/forms/fields.py @@ -66,6 +66,8 @@ class AnyUrlField(forms.MultiValueField): value = value.pk # Auto cast foreign keys to integer. ...
Fix using AnyUrlField with blank=True The field worked when the 'http' URL was selected, but when an ID selector was left empty, errors occurred. It even stored `app.model://None` in the database. Fixed, and storing NULL or empty string now instead.
edoburu_django-any-urlfield
train
a05e5cb9b1554e336012a4c3e70f3e3c3f9f98b1
diff --git a/src/lib/__tests__/index.test.js b/src/lib/__tests__/index.test.js index <HASH>..<HASH> 100644 --- a/src/lib/__tests__/index.test.js +++ b/src/lib/__tests__/index.test.js @@ -4,7 +4,6 @@ import { GoogleMap, Circle, DirectionsRenderer, - HeatmapLayer, InfoWindow, KmlLayer, FusionTablesLaye...
refactor(index.js): remove HeatmapLayer export * Ref #<I>, #<I>, #<I> BREAKING CHANGE: remove top-level HeatmapLayer export Before: ```js import { HeatmapLayer } from "react-google-maps" ``` After: ```js import HeatmapLayer from "react-google-maps/lib/visualization/HeatmapLayer" ```
tomchentw_react-google-maps
train
e7fa688833fd4dae79d3a521b4224beb80105273
diff --git a/phoxy.js b/phoxy.js index <HASH>..<HASH> 100755 --- a/phoxy.js +++ b/phoxy.js @@ -436,7 +436,7 @@ phoxy._ApiSubsystem = { function ScriptsFiresUp() { - phoxy.FindRouteline(answer.routeline, answer); + phoxy.FindRouteline(answer.routeline, answer)(); if (callback) ...
Fix phoxy ignore routeline command issue
phoxy_phoxy
train
ed345f2d8264984e5b117c47c5b8bf53515b61ca
diff --git a/handler/src/main/java/com/networknt/handler/Handler.java b/handler/src/main/java/com/networknt/handler/Handler.java index <HASH>..<HASH> 100644 --- a/handler/src/main/java/com/networknt/handler/Handler.java +++ b/handler/src/main/java/com/networknt/handler/Handler.java @@ -199,7 +199,9 @@ public class Hand...
Descriptive Exception on unknown chain or handler in handler.yml. Before it would fail with a NullPointerException or return <I> with empty body.
networknt_light-4j
train
645ca1f6abaee796e0bbe449cf1a908eb6828ccf
diff --git a/mythril/ether/contractstorage.py b/mythril/ether/contractstorage.py index <HASH>..<HASH> 100644 --- a/mythril/ether/contractstorage.py +++ b/mythril/ether/contractstorage.py @@ -80,7 +80,7 @@ class ContractStorage(persistent.Persistent): # skip contracts with zero balance (disable ...
Also save contract creation code in db sync
ConsenSys_mythril-classic
train
deb5dd415f78d4902db7f10a417dfbccbf54685b
diff --git a/sdl/error.go b/sdl/error.go index <HASH>..<HASH> 100644 --- a/sdl/error.go +++ b/sdl/error.go @@ -23,7 +23,11 @@ func (ec ErrorCode) c() C.SDL_errorcode { // GetError (https://wiki.libsdl.org/SDL_GetError) func GetError() error { if err := C.SDL_GetError(); err != nil { - return errors.New(C.GoString(...
SDL_GetError returns an empty string, not nil, when there are no errors. (#<I>)
veandco_go-sdl2
train
04834d28fafc4902f7eb624d687e8c96c07ff513
diff --git a/pyOutlook/core/main.py b/pyOutlook/core/main.py index <HASH>..<HASH> 100644 --- a/pyOutlook/core/main.py +++ b/pyOutlook/core/main.py @@ -1,11 +1,12 @@ # Authorization and misc functions import warnings import logging +from typing import List import requests +from pyOutlook.core.contact import Cont...
Updates to new_email() and send_email() to reflect changes in Message class and removal of NewMessage (#<I>)
JensAstrup_pyOutlook
train
c0b618a7da4cc5be1d6f3bd510d1c0ac5c1e85d0
diff --git a/src/__init__.py b/src/__init__.py index <HASH>..<HASH> 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -39,14 +39,14 @@ for i, c in enumerate(COMPACT_DIGITS): def serialize_number(x, fmt=SER_BINARY, outlen=None): """ Serializes `x' to a string of length `outlen' in format `fmt' """ - ret =...
Sneak in some buffer b's.
bwesterb_py-seccure
train
9e82b5f035efb0d75c05d94429fee1ce18d8f8e7
diff --git a/lib/light-service/action.rb b/lib/light-service/action.rb index <HASH>..<HASH> 100644 --- a/lib/light-service/action.rb +++ b/lib/light-service/action.rb @@ -23,7 +23,7 @@ module LightService ContextKeyVerifier.verify_expected_keys_are_in_context(action_context, self.expected_keys) - ...
Define not one, but many expectation readers
adomokos_light-service
train
dfe17e33605d45c53ee0962cd215bb74d3091b33
diff --git a/modules/jooby-ehcache/src/main/java/org/jooby/ehcache/EhSessionStore.java b/modules/jooby-ehcache/src/main/java/org/jooby/ehcache/EhSessionStore.java index <HASH>..<HASH> 100644 --- a/modules/jooby-ehcache/src/main/java/org/jooby/ehcache/EhSessionStore.java +++ b/modules/jooby-ehcache/src/main/java/org/joo...
fixed minor code issues (#<I>)
jooby-project_jooby
train
8301ab99001e2b342932fccacca09f6b30c7b27e
diff --git a/src/Statistics/Distribution.php b/src/Statistics/Distribution.php index <HASH>..<HASH> 100644 --- a/src/Statistics/Distribution.php +++ b/src/Statistics/Distribution.php @@ -113,7 +113,7 @@ class Distribution * * @return array Rankings of the data in the same order the values were input *...
R Rename rank to fractionalRanking.
markrogoyski_math-php
train
f4d2cf20bd536b0053ea26b1e03f220bd80a8426
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ module.exports = function (opts) { files[file].files.push(file) // Make sure the output is defined. - if (!files[file].hasOwnProperty('output')) { + if (!Object.prototype.hasOwnProperty...
fixed Do not access Object.prototype method 'hasOwnProperty' from target object. It is a 'no-prototype-builtins' error.
kalamuna_metalsmith-concat-convention
train
99a3ef4df07d49ba4049ff0c1f4694adcb778898
diff --git a/vc_zoom/indico_vc_zoom/plugin.py b/vc_zoom/indico_vc_zoom/plugin.py index <HASH>..<HASH> 100644 --- a/vc_zoom/indico_vc_zoom/plugin.py +++ b/vc_zoom/indico_vc_zoom/plugin.py @@ -322,7 +322,7 @@ class ZoomPlugin(VCPluginMixin, IndicoPlugin): 'zoom_id': unicode(meeting_obj['id']), '...
VC/Zoom: Fix tests Incorrect alternative_hosts defeault value (that was apparently only used in tests, since it's always present when using the real Zoom API)
indico_indico-plugins
train
48751cb2e6d70ca579c12f004cdbb285c79a6e80
diff --git a/test/eth/TransactionManager.spec.js b/test/eth/TransactionManager.spec.js index <HASH>..<HASH> 100644 --- a/test/eth/TransactionManager.spec.js +++ b/test/eth/TransactionManager.spec.js @@ -155,7 +155,6 @@ describe('lifecycle hooks', () => { expect(openHandlers.mined).toBeCalled(); expect(openHan...
remove duplicate assignment to cdp
makerdao_dai.js
train
4a6bb88239b3542d23a9b5895715edeb02bd9db3
diff --git a/Parsedown.php b/Parsedown.php index <HASH>..<HASH> 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -50,7 +50,8 @@ class Parsedown $text = preg_replace('{^\xEF\xBB\xBF|\x1A}', '', $text); # Removes \r characters. - $text = str_replace("\r", '', $text); + $text = str_replace("\r\n", "\n", $text...
improve the code that removes \r characters
erusev_parsedown
train
d4c463a586c163b3edb78c256dee2dc24e2f3735
diff --git a/Decorators.py b/Decorators.py index <HASH>..<HASH> 100644 --- a/Decorators.py +++ b/Decorators.py @@ -72,8 +72,7 @@ def queue_main_thread(f): # classes which use this decorator on a method are required -# to define a property: delay_queue. methods wrapped with this -# decorator MUST be called from a t...
Improve queue_main_thread_sync to work properly on main thread. svn r<I>
nion-software_nionswift
train
fcc139d69a3f07d6f09ee3a10d4972fca3f38cd8
diff --git a/lib/rails-footnotes/notes/queries_note.rb b/lib/rails-footnotes/notes/queries_note.rb index <HASH>..<HASH> 100644 --- a/lib/rails-footnotes/notes/queries_note.rb +++ b/lib/rails-footnotes/notes/queries_note.rb @@ -71,7 +71,7 @@ module Footnotes ActiveRecord::ConnectionAdapters::AbstractAdapter.s...
Don't run QueryAnalyzer against SalesforceAdapter Only applies if ActiveSalesforce ConnectionAdapter is defined
josevalim_rails-footnotes
train
238390fda1b223819c15d8b92d1ffa8e3d43dbdc
diff --git a/tests/test_new.py b/tests/test_new.py index <HASH>..<HASH> 100644 --- a/tests/test_new.py +++ b/tests/test_new.py @@ -4301,3 +4301,97 @@ def test_new_list_children_joliet_file(): pass iso.close() + +def test_new_udf_remove_base(): + # Create a new ISO. + iso = pycdlib.PyCdlib() + ...
Add some tests to increase test coverage.
clalancette_pycdlib
train
9c4eb1d93f80a6fb21482eab03d5c1f247f13c57
diff --git a/lib/openxml-package/version.rb b/lib/openxml-package/version.rb index <HASH>..<HASH> 100644 --- a/lib/openxml-package/version.rb +++ b/lib/openxml-package/version.rb @@ -1,3 +1,3 @@ module OpenXmlPackage - VERSION = "0.2.2" + VERSION = "0.2.3" end
[skip] Bumped version to <I> (1m)
openxml_openxml-package
train
060bcb5c5a6cf0d7793d71b30bde4774340eb523
diff --git a/messageBus.js b/messageBus.js index <HASH>..<HASH> 100644 --- a/messageBus.js +++ b/messageBus.js @@ -211,6 +211,11 @@ function handleNotification(notification, topic, post, callback) { if (post && post.raw) { discourse.log('\t' + (post.raw || '').split('\n')[0]); } + if (type === 're...
respond to replies containing @-mentions as if they were @-mentions
SockDrawer_SockBot
train
fa490e44b6399ef99ca498d23a283d4b44af53b2
diff --git a/helpers/class.Uri.php b/helpers/class.Uri.php index <HASH>..<HASH> 100644 --- a/helpers/class.Uri.php +++ b/helpers/class.Uri.php @@ -249,12 +249,13 @@ class tao_helpers_Uri $returnValue = (string) ''; // section 127-0-1-1-4955a5a0:1242e3739c6:-8000:0000000000001A3F begin - if (preg...
fix the problem with port different from <I> Bug #<I> The encode/decode functions have been modified git-svn-id: <URL>
oat-sa_tao-core
train
a388b4a5a6b90dbaa26d6fff163c462ce5096e3c
diff --git a/openquake/db/models.py b/openquake/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/db/models.py +++ b/openquake/db/models.py @@ -25,6 +25,7 @@ Model representations of the OpenQuake DB tables. ''' +import base64 import os from collections import namedtuple @@ -393,8 +394,9 @@ class ParsedS...
Finished up the src model importer, plus tests
gem_oq-engine
train
de861475db35e70af1a38ff6df71a6750ab22d3c
diff --git a/library/CM/SmartyPlugins/modifier.usertext2.php b/library/CM/SmartyPlugins/modifier.usertext2.php index <HASH>..<HASH> 100644 --- a/library/CM/SmartyPlugins/modifier.usertext2.php +++ b/library/CM/SmartyPlugins/modifier.usertext2.php @@ -6,10 +6,9 @@ * @param int|null $lengthMax * @param boolean|nu...
changed stripEmoji in Plain. now emoji by default are in plain text.
cargomedia_cm
train
f8f255dc843c45ef631da084a0235ec59a7e1559
diff --git a/modules/clean-up.php b/modules/clean-up.php index <HASH>..<HASH> 100644 --- a/modules/clean-up.php +++ b/modules/clean-up.php @@ -21,7 +21,10 @@ function soil_head_cleanup() { remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0); global $wp_widget_factory; - remove_action('wp_head', array($wp_w...
Checking for comments widget before removing
roots_soil
train
286046bc649fde33979ced8bc39be31a150fe226
diff --git a/quart/asgi.py b/quart/asgi.py index <HASH>..<HASH> 100644 --- a/quart/asgi.py +++ b/quart/asgi.py @@ -114,10 +114,36 @@ class ASGIWebsocketConnection: self.task.cancel() async def handle_websocket(self, websocket: Websocket, send: Callable) -> None: - await self.app.handle_we...
Support HTTP responses to websocket requests via ASGI This is only attempted (and possible) if the server supports websocket http responses and annonces so in the extensions dictionary. Currently Hypercorn is the only ASGI server to support this extension.
pgjones_quart
train
559a3904fc9f5d4a15be03115c24750583a576b0
diff --git a/query/src/test/java/org/infinispan/query/distributed/MultiNodeDistributedTest.java b/query/src/test/java/org/infinispan/query/distributed/MultiNodeDistributedTest.java index <HASH>..<HASH> 100644 --- a/query/src/test/java/org/infinispan/query/distributed/MultiNodeDistributedTest.java +++ b/query/src/test/j...
Fix marking of two unstable tests to really prevent them from running
infinispan_infinispan
train
a83ce2e4d5bd92dc06a8ad11e1c0bf9c374e074b
diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py index <HASH>..<HASH> 100644 --- a/netmiko/base_connection.py +++ b/netmiko/base_connection.py @@ -1059,12 +1059,14 @@ Device settings: {self.device_type} {self.host}:{self.port} if self.keepalive: assert isinstance(self.r...
Channel must be created before special_login_handler is called (#<I>)
ktbyers_netmiko
train
9c38c5f625ebd23a8fbcab2e0f47b83e25f8dfa3
diff --git a/src/Forms/FormRequestHandler.php b/src/Forms/FormRequestHandler.php index <HASH>..<HASH> 100644 --- a/src/Forms/FormRequestHandler.php +++ b/src/Forms/FormRequestHandler.php @@ -225,25 +225,26 @@ class FormRequestHandler extends RequestHandler // First, try a handler method on the controller...
CMS action related extension points (#<I>) * CMS action related extension points * Refactor to use fewer extension points * Remove explicit return type
silverstripe_silverstripe-framework
train
35d2d3b78b2b81d1e42b976542435335e8fbcca7
diff --git a/PyHardLinkBackup/backup_app/admin.py b/PyHardLinkBackup/backup_app/admin.py index <HASH>..<HASH> 100644 --- a/PyHardLinkBackup/backup_app/admin.py +++ b/PyHardLinkBackup/backup_app/admin.py @@ -4,9 +4,27 @@ from .models import BackupRun, BackupFilename, BackupEntry, ContentInfo class BackupEntryAdmin(...
start maring the admin nicer, see also: #7
jedie_PyHardLinkBackup
train
46408ae48f40f80b19ba7ee0538d121b28ba4d48
diff --git a/aba_uberon.py b/aba_uberon.py index <HASH>..<HASH> 100755 --- a/aba_uberon.py +++ b/aba_uberon.py @@ -5,7 +5,7 @@ from os.path import expanduser from collections import namedtuple import rdflib import requests -from pyontutils.scigraph_client import Vocabulary, Graph +from scigraph_client import Vocabul...
removed relative import now that aba_uberon lives in here
tgbugs_pyontutils
train
f93d161dfdee29ad9f1664d3a83822fc3881e0fe
diff --git a/src/rabird/core/configparser.py b/src/rabird/core/configparser.py index <HASH>..<HASH> 100777 --- a/src/rabird/core/configparser.py +++ b/src/rabird/core/configparser.py @@ -29,9 +29,9 @@ import re class ConfigParser(configparser.ConfigParser): UNNAMED_SECTION = '#--CONFIGPARSER-UNNAMED-SECTION--#' ...
Export empty option and comment option prefixs for option validation
starofrainnight_rabird.core
train
e8c970e8cdf253737b8b558367228c6ccd52753c
diff --git a/app/assets/javascripts/hooch.js b/app/assets/javascripts/hooch.js index <HASH>..<HASH> 100644 --- a/app/assets/javascripts/hooch.js +++ b/app/assets/javascripts/hooch.js @@ -2257,7 +2257,7 @@ var initHooch = function(){ }) }); $(document).ajaxStop(function(){ - if(window.any_time_manager.reco...
fixed sorter ajaxstop geometry refresh, for realz this time?
edraut_hooch
train
382168b0a216ab5ece61d431a598dc49431d4449
diff --git a/lib/slack-notifier/util/link_formatter.rb b/lib/slack-notifier/util/link_formatter.rb index <HASH>..<HASH> 100644 --- a/lib/slack-notifier/util/link_formatter.rb +++ b/lib/slack-notifier/util/link_formatter.rb @@ -4,10 +4,28 @@ module Slack module Util class LinkFormatter # http://rubu...
fix/refactor: bring paren matching in link_formatter closer to the common mark spec the previous iteration of the regex would fast-stop at the last “)” even if the url contained additional characters beyond it. this is still not fully up to the common mark spec, but is closer. Any ‘)’ in a url will require a precedin...
stevenosloan_slack-notifier
train
c91e46708f90b07c3d953308bdd430cabdfadd4f
diff --git a/test/client/docs_test.rb b/test/client/docs_test.rb index <HASH>..<HASH> 100644 --- a/test/client/docs_test.rb +++ b/test/client/docs_test.rb @@ -39,12 +39,10 @@ describe Elastomer::Client::Docs do @docs.delete_by_query :q => '*:*' @index.flush @index.refresh + # @index.close; sleep 0.020...
dealing with latecy issues in ES
github_elastomer-client
train
c038432bed030d75a4bb914a327ac409a0d7e1cb
diff --git a/models/lda.php b/models/lda.php index <HASH>..<HASH> 100644 --- a/models/lda.php +++ b/models/lda.php @@ -199,7 +199,11 @@ class Lda $denom = $this->words_in_topic[$topic]+$this->voccnt*$this->b; foreach ($this->voc as $w) { - $p[$w] = ($this->count_topics_words[$topic][$w] + $this->b)/$...
Php warnings in Lda model Added checks to avoid php warnings while training an Lda model
angeloskath_php-nlp-tools
train
d6dfbdd76ad14d51119a18f85886de39cb17ac4c
diff --git a/lib/omniship/carriers/ups.rb b/lib/omniship/carriers/ups.rb index <HASH>..<HASH> 100644 --- a/lib/omniship/carriers/ups.rb +++ b/lib/omniship/carriers/ups.rb @@ -469,7 +469,8 @@ module Omniship if success @digest = xml.xpath('//*/ShipmentDigest').text end - return @digest + ...
Debugging UPS Error Codes
Digi-Cazter_omniship
train
12c1560933c2ff3335e2e0edf0d0ed057702af5d
diff --git a/km3pipe/cmd.py b/km3pipe/cmd.py index <HASH>..<HASH> 100644 --- a/km3pipe/cmd.py +++ b/km3pipe/cmd.py @@ -169,6 +169,9 @@ def main(): if args['runinfo']: runinfo(args['RUN'], args['DET_ID'], temporary=args["--temporary"]) + if args['rundetsn']: + runinfo(args['RUN'], args['DETECTO...
"rundetsn" command utility included in the "main" of "cmd.py"
tamasgal_km3pipe
train
13b4ff8ca811509c95742d786a2d22c096a8741a
diff --git a/common/src/main/java/org/cloudfoundry/identity/uaa/rest/SearchResultsFactory.java b/common/src/main/java/org/cloudfoundry/identity/uaa/rest/SearchResultsFactory.java index <HASH>..<HASH> 100644 --- a/common/src/main/java/org/cloudfoundry/identity/uaa/rest/SearchResultsFactory.java +++ b/common/src/main/jav...
Fix multiple endpoint failures when using start/count - If the sublist generated is invalid, return an empty list - When filtering with attributes, do not sublist again - Add testcases to cover the above
cloudfoundry_uaa
train
67e32274acc67f5ecc55d9780c68d4dc12c1742a
diff --git a/adapters/http/broadcast/broadcast.go b/adapters/http/broadcast/broadcast.go index <HASH>..<HASH> 100644 --- a/adapters/http/broadcast/broadcast.go +++ b/adapters/http/broadcast/broadcast.go @@ -45,7 +45,11 @@ func (a *Adapter) Send(p core.Packet, r ...core.Recipient) error { if len(r) == 0 { return a....
[broker] Fix tests and make the function passes them
TheThingsNetwork_ttn
train
66ddbc600d5bd4cd2dda43500a586faa5d395805
diff --git a/src/TgSelect/index.js b/src/TgSelect/index.js index <HASH>..<HASH> 100644 --- a/src/TgSelect/index.js +++ b/src/TgSelect/index.js @@ -10,16 +10,23 @@ import getTextFromEl from "../utils/getTextFromEl"; import { getTagColorStyle, getTagProps } from "../utils/tagUtils"; class TgSelect extends React.Compo...
Add autoopen to tgSelect
TeselaGen_teselagen-react-components
train
fa4290090dfaef3b964bb340e219115e7f2a3f45
diff --git a/python/ray/tests/test_client_init.py b/python/ray/tests/test_client_init.py index <HASH>..<HASH> 100644 --- a/python/ray/tests/test_client_init.py +++ b/python/ray/tests/test_client_init.py @@ -36,6 +36,7 @@ def test_num_clients(): assert isinstance(info3["ray_version"], str), info3 asser...
Add Ray client protocol version (#<I>)
ray-project_ray
train
ad37d19cce9f16bc59f497760c9fbe73b2dddadf
diff --git a/test/src/test/java/ghostdriver/FrameSwitchingTest.java b/test/src/test/java/ghostdriver/FrameSwitchingTest.java index <HASH>..<HASH> 100644 --- a/test/src/test/java/ghostdriver/FrameSwitchingTest.java +++ b/test/src/test/java/ghostdriver/FrameSwitchingTest.java @@ -1,6 +1,9 @@ package ghostdriver; +impo...
Added failing test for frame switching.
detro_ghostdriver
train
d4c49c5ac92ddb6039198874965e4e5cd4f30b6f
diff --git a/resources/views/managerarea/layouts/default.blade.php b/resources/views/managerarea/layouts/default.blade.php index <HASH>..<HASH> 100644 --- a/resources/views/managerarea/layouts/default.blade.php +++ b/resources/views/managerarea/layouts/default.blade.php @@ -24,7 +24,7 @@ @stack('vendor-scripts') ...
Replace blue theme with green theme for managerarea
rinvex_cortex-foundation
train
5b06d7d730b95ffa7872bbb62aa039b8b30ff933
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,4 @@ Add unit tests for any new or changed functionality. Lint and test your code. ## Release History * 1.0.0 Initial release +* 1.0.1 Added ability to add an optional body to error \ No newline at end of fil...
Added functionality to add an optional body to the error
maheshwarishivam_node-custom-error
train
33acb9d2e05d0f3abb7897abbe50dd54600da85b
diff --git a/tests/integration_test.py b/tests/integration_test.py index <HASH>..<HASH> 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -1418,7 +1418,6 @@ class TestBuildFromStringIO(BaseTestCase): class TestBuildWithDockerignore(Cleanup, BaseTestCase): - @pytest.mark.skipif(True, reas...
Test has been fixed, remove skip decorator
docker_docker-py
train
13772516cb769eacd203187f3fafaceaafce7db6
diff --git a/view/zend-developer-tools/toolbar/session-toolbar.js b/view/zend-developer-tools/toolbar/session-toolbar.js index <HASH>..<HASH> 100644 --- a/view/zend-developer-tools/toolbar/session-toolbar.js +++ b/view/zend-developer-tools/toolbar/session-toolbar.js @@ -16,11 +16,33 @@ */ function sanSessionToolbar_...
using native javascript instead of rely-ing to jQuery
samsonasik_SanSessionToolbar
train
dc0f042a63e232668912cc603c3be600ae2b8f72
diff --git a/tests/unit/py2/regions/pyregion_test.py b/tests/unit/py2/regions/pyregion_test.py index <HASH>..<HASH> 100755 --- a/tests/unit/py2/regions/pyregion_test.py +++ b/tests/unit/py2/regions/pyregion_test.py @@ -33,27 +33,26 @@ class PyRegionTest(unittest.TestCase): class NoInit(PyRegion): pass - ...
Converted asserts to unittest asserts
numenta_nupic
train
8850b3ebe199ddca83c2b9dba6211fd5c545e6b7
diff --git a/lib/rules/rules.js b/lib/rules/rules.js index <HASH>..<HASH> 100644 --- a/lib/rules/rules.js +++ b/lib/rules/rules.js @@ -41,6 +41,10 @@ function detactShorthand(url) { if (FILE_RE.test(url) && !util.isRegExp(url)) { return 'file://' + url; } + // compact Chrome + if (/^file:\/\/\/[A-Z]:\//.te...
refactor: Supports file:///E:/xxx for Chrome
avwo_whistle
train
22f4f5da27dfc86d73810256bfa1309951aff9a0
diff --git a/src/main/java/org/sameas/sameas4j/core/Equivalence.java b/src/main/java/org/sameas/sameas4j/core/Equivalence.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/sameas/sameas4j/core/Equivalence.java +++ b/src/main/java/org/sameas/sameas4j/core/Equivalence.java @@ -16,8 +16,6 @@ public class Equivalenc...
amount can always be calculated by the duplicates List size git-svn-id: <URL>
99soft_sameas4j
train
b72a5c61244914945abedbd26255ea8eb0fe3bc5
diff --git a/test/raven.client.js b/test/raven.client.js index <HASH>..<HASH> 100644 --- a/test/raven.client.js +++ b/test/raven.client.js @@ -1018,4 +1018,29 @@ describe('raven.middleware', function () { client2.should.not.equal(client1); client2.should.be.an.instanceof(raven.constructor); }); + + it('sh...
Add test for explicit adding req/res to context domain in middleware
getsentry_raven-node
train
219fed655eebcd0007a25336c2b8ebb37a2b01e3
diff --git a/src/Parser.php b/src/Parser.php index <HASH>..<HASH> 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -181,6 +181,7 @@ class Parser extends Token { * @return array<boolean|integer|array> Return parsed result */ public static function subexpression($expression, &$context) { + $con...
try to fix usage count (1 error now)
zordius_lightncandy
train
5d04a69038ffaa8a119911be56ca83f14058b43d
diff --git a/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java b/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java index <HASH>..<HASH> 100644 --- a/activiti-api-impl/act...
refactoring made for changes in activiti-api
Activiti_Activiti
train
93167f30e093869e501939b7f0d42cf65965b2f9
diff --git a/src/Utils/Formatter.php b/src/Utils/Formatter.php index <HASH>..<HASH> 100644 --- a/src/Utils/Formatter.php +++ b/src/Utils/Formatter.php @@ -29,6 +29,28 @@ class Formatter public $options; /** + * Clauses that are usually short. + * + * These clauses share the line with the next cl...
Improved format of INSERT queries.
phpmyadmin_sql-parser
train
3de5c4836dae724f9150b1858b92c29aa71e7c07
diff --git a/src/Database/Column.php b/src/Database/Column.php index <HASH>..<HASH> 100644 --- a/src/Database/Column.php +++ b/src/Database/Column.php @@ -99,9 +99,15 @@ class Column */ public function foreign($table, $column = 'id', $onUpdate = 'cascade', $onDelete = 'cascade') { + if (DB::conne...
Rename default method to defaults -- reserved word in php 5
erikgall_eloquent-phpunit
train
4ee7a33245a17ef36eff855368994a6b8280fa98
diff --git a/src/client.js b/src/client.js index <HASH>..<HASH> 100644 --- a/src/client.js +++ b/src/client.js @@ -1,10 +1,18 @@ import feathers from 'feathers/client'; import hooks from 'feathers-hooks'; +import errors from 'feathers-errors'; import authentication from 'feathers-authentication-client'; import rest...
Add feathers-errors to the client export (#<I>)
feathersjs_client
train
6e321a3530aa987844e8a2deefc85f6375ef3f17
diff --git a/examples/PubSubContext.php b/examples/PubSubContext.php index <HASH>..<HASH> 100644 --- a/examples/PubSubContext.php +++ b/examples/PubSubContext.php @@ -5,7 +5,7 @@ require_once '../lib/Predis.php'; $redis = new \Predis\Client('redis://127.0.0.1:6379/?read_write_timeout=-1', 'dev'); // Initialize a n...
Add the Predis\Client::pubSubContext() method to initialize a PubSub context from a client instance.
nrk_predis
train
02fbe725cb8b342c51a7d62cdbe319f307e43a3d
diff --git a/umbra/umbra.py b/umbra/umbra.py index <HASH>..<HASH> 100755 --- a/umbra/umbra.py +++ b/umbra/umbra.py @@ -34,11 +34,16 @@ class Umbra: # self.logger.debug("handling message from websocket {} - {}".format(ws, message)) message = loads(message) if "method" in message.keys() and message["method"] == ...
cache parent url metadata and send back via amqp with child urls
internetarchive_brozzler
train
d24148f56b7c3274c8d18ecc73051b59087ccab6
diff --git a/xmldog/src/main/java/jlibs/xml/sax/dog/expr/nodset/LocationEvaluation.java b/xmldog/src/main/java/jlibs/xml/sax/dog/expr/nodset/LocationEvaluation.java index <HASH>..<HASH> 100644 --- a/xmldog/src/main/java/jlibs/xml/sax/dog/expr/nodset/LocationEvaluation.java +++ b/xmldog/src/main/java/jlibs/xml/sax/dog/e...
method finished() and variable finished are changed from protected to private
santhosh-tekuri_jlibs
train
53a3ed35c3e5b62ddae1787ee8558c5f8e57b353
diff --git a/lib/pmp/client.rb b/lib/pmp/client.rb index <HASH>..<HASH> 100644 --- a/lib/pmp/client.rb +++ b/lib/pmp/client.rb @@ -5,12 +5,17 @@ module PMP include Configuration + def initialize(options={}, &block) + apply_configuration(options) + yield(self) if block_given? + end + def to...
fix client to accept and pass on options
PRX_pmp
train
2dc9aaf386492b1d09f124e6f35a2f3ce86011cf
diff --git a/tests/function_test.py b/tests/function_test.py index <HASH>..<HASH> 100644 --- a/tests/function_test.py +++ b/tests/function_test.py @@ -60,7 +60,7 @@ if __name__ == '__main__': API_URL = sys.argv[1] chaincode_name = "" - #chaincode_name = "7be1529ee16969baf9f3156247a0ee8e7eee99a6a0a816776a...
fix flake8 with function_test.py
yeasy_hyperledger-py
train
19b05b5e610ee15755409764813409d4d4de9fd7
diff --git a/src/babel/generation/generators/statements.js b/src/babel/generation/generators/statements.js index <HASH>..<HASH> 100644 --- a/src/babel/generation/generators/statements.js +++ b/src/babel/generation/generators/statements.js @@ -182,8 +182,8 @@ export function VariableDeclaration(node, print, parent) { ...
change some manual array for loops to for..of
babel_babel
train
d5d4e9f0506fece799adeb24d312ace4329090a8
diff --git a/api/api_unix.go b/api/api_unix.go index <HASH>..<HASH> 100644 --- a/api/api_unix.go +++ b/api/api_unix.go @@ -2,13 +2,15 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin linux +// +build darwin linux freebsd // +build cgo p...
CGO: FreeBSD support unixODBC libs/includes are installed under /usr/local via ports/pkg on a FreeBSD system. Also perl is unstalled under /usr/local/bin: Use "env" to launch the correct interpreter.
alexbrainman_odbc
train
be7aa84d18daedabc6f49fbcac83344786663465
diff --git a/lib/controller/MockController.js b/lib/controller/MockController.js index <HASH>..<HASH> 100644 --- a/lib/controller/MockController.js +++ b/lib/controller/MockController.js @@ -104,19 +104,23 @@ MockController.prototype = extend(MockController.prototype, { var req = responseOptions.req; var res = re...
[change] store tunnel response for errors
smollweide_node-mock-server
train
ba1782a0c0f3a12ad1b4305c38be81f290f39156
diff --git a/django_light_enums/db.py b/django_light_enums/db.py index <HASH>..<HASH> 100644 --- a/django_light_enums/db.py +++ b/django_light_enums/db.py @@ -9,14 +9,17 @@ class EnumField(IntegerField): """ def __init__(self, enum, *args, **kwargs): - kwargs['choices'] = enum._choices - kwarg...
Bring choices behavior in line with Django choices() method, streamline methods a little
makingspace_django-light-enums
train
0140228771b5eca929ae7ac51dcc48299d53b62a
diff --git a/src/QueryInterpreter/Type/FindInterpreter.php b/src/QueryInterpreter/Type/FindInterpreter.php index <HASH>..<HASH> 100644 --- a/src/QueryInterpreter/Type/FindInterpreter.php +++ b/src/QueryInterpreter/Type/FindInterpreter.php @@ -74,8 +74,13 @@ class FindInterpreter extends AbstractSqlQueryTypeInterpreter ...
For single include queries, we need to prevent any limit clause from being rendered
silktide_reposition-sql
train
51adcd8248ba0e02f414b533df11c4748a1acce1
diff --git a/properties/base/base.py b/properties/base/base.py index <HASH>..<HASH> 100644 --- a/properties/base/base.py +++ b/properties/base/base.py @@ -468,3 +468,19 @@ def equal(value_a, value_b): continue return False return True + + +def copy(value, **kwargs): + """Return a copy of a...
New copy function that acts on HasProperties instances See #<I>
seequent_properties
train
9a7bc65c90e194cfb6838dddd60e1b784c0c31b4
diff --git a/lib/librarian/resolver.rb b/lib/librarian/resolver.rb index <HASH>..<HASH> 100644 --- a/lib/librarian/resolver.rb +++ b/lib/librarian/resolver.rb @@ -4,6 +4,7 @@ require 'librarian/resolution' module Librarian class Resolver + include Helpers::Debug attr_accessor :environment private :...
Enforce the resolver's consistency. The resolver must provide a consistent resolution. Otherwise, fail fast and show as much debugging info as possible. Helpful when debugging resolution problems.
applicationsonline_librarian
train
e1da23d86813e0f10663d3dfbbd73d8ce21c809c
diff --git a/generator/api/src/main/java/io/fabric8/maven/generator/api/MavenGeneratorContext.java b/generator/api/src/main/java/io/fabric8/maven/generator/api/MavenGeneratorContext.java index <HASH>..<HASH> 100644 --- a/generator/api/src/main/java/io/fabric8/maven/generator/api/MavenGeneratorContext.java +++ b/generat...
polished code based on feedback from @rhuss
fabric8io_fabric8-maven-plugin
train