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
3213566bf3071b143e1be521597ea969cc19868c
diff --git a/setup/list_modules.py b/setup/list_modules.py index <HASH>..<HASH> 100644 --- a/setup/list_modules.py +++ b/setup/list_modules.py @@ -9,6 +9,8 @@ import shutil import html.parser import ast import json +import traceback +import sys # Template for application setup.py script setup = """from setuptool...
Add traceback when a script has a SyntaxError (cf issue #<I>)
brython-dev_brython
train
py
c7862c8da12235f83917c452b2b8f3b419a9612b
diff --git a/lib/object.js b/lib/object.js index <HASH>..<HASH> 100644 --- a/lib/object.js +++ b/lib/object.js @@ -116,6 +116,8 @@ function testOverwriteObject(callback) first.overwriteWith(second); testing.assertEquals(first.countProperties(), 3, 'Overwritten should have three properties', callback); testing.ass...
Test that overwriting with undefined does not crash.
alexfernandez_prototypes
train
js
776ee8ac97b1c830e1a05cf1e99e8fb9235b857e
diff --git a/lib/redistat.rb b/lib/redistat.rb index <HASH>..<HASH> 100644 --- a/lib/redistat.rb +++ b/lib/redistat.rb @@ -23,6 +23,7 @@ require 'redistat/model' require 'redistat/result' require 'redistat/scope' require 'redistat/summary' +require 'redistat/version' require 'redistat/core_ext/date' require 'red...
make version available in code via Redistat::VERSION
jimeh_redistat
train
rb
8d8221edfefebb31ad526cbb2d67feadf31fa39c
diff --git a/www/src/async.js b/www/src/async.js index <HASH>..<HASH> 100644 --- a/www/src/async.js +++ b/www/src/async.js @@ -1,12 +1,22 @@ ;(function($B) { var _b_ = $B.builtins var awaitable = $B.make_class("awaitable") +var coroutine = $B.make_class("coroutine") + +coroutine.close = function(self){} +coroutine.s...
Make result of async def more compliant
brython-dev_brython
train
js
b704fb901fc87a21b04909ba2811cf86f4d0baa0
diff --git a/MAVProxy/modules/mavproxy_link.py b/MAVProxy/modules/mavproxy_link.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_link.py +++ b/MAVProxy/modules/mavproxy_link.py @@ -371,7 +371,8 @@ class LinkModule(mp_module.MPModule): mavutil.mavlink.MAV_TYPE_HEXAROTOR, ...
mavproxy_link: add dodecarotor to MAV_TYPE_* to self.mpstate data map
ArduPilot_MAVProxy
train
py
2e9890e643284a108cf8a3f7e47ce1039b81f602
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -30,7 +30,6 @@ function WindowPage() { this.waitBuild(function() { if (this.stage() == "build") { - this.builder = Promise.resolve(); this.waitHandle(this.handle.bind(this)); } else { this.build(); @@ -95,7...
waitHandler must not depend on this.builder Or build(fn) is executed but build phase has never been started
kapouer_window-page
train
js
4f583a810162c52cb76527d60c3ab6687b238938
diff --git a/git/objects/fun.py b/git/objects/fun.py index <HASH>..<HASH> 100644 --- a/git/objects/fun.py +++ b/git/objects/fun.py @@ -156,7 +156,7 @@ def traverse_trees_recursive(odb, tree_shas, path_prefix): # END skip already done items entries = [None for _ in range(nt)] entri...
changed unused variables assingment
gitpython-developers_GitPython
train
py
5d35a299ad99903a91e2cadac8f1080dc7e05e1d
diff --git a/src/Model/Behavior/AuditLogBehavior.php b/src/Model/Behavior/AuditLogBehavior.php index <HASH>..<HASH> 100644 --- a/src/Model/Behavior/AuditLogBehavior.php +++ b/src/Model/Behavior/AuditLogBehavior.php @@ -113,7 +113,7 @@ class AuditLogBehavior extends Behavior unset($changed[$property], $orig...
Preventing audit logging for belongsToMany associations that don't actually change. This should be looked at in the core, as the association should not be saved anyway.
lorenzo_audit-stash
train
php
5163f1e6bd86e17bc1f7c839c418b4627776e4bc
diff --git a/admin/cli/upgrade.php b/admin/cli/upgrade.php index <HASH>..<HASH> 100644 --- a/admin/cli/upgrade.php +++ b/admin/cli/upgrade.php @@ -135,6 +135,15 @@ if (!$envstatus) { exit(1); } +// Make sure there are no files left over from previous versions. +if (upgrade_stale_php_files_present()) { + cli_...
MDL-<I> admin: prevent CLI upgrade when stale files present.
moodle_moodle
train
php
77ba800eb26a8f75c4b2c22449caaffe0fc34d46
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -9,11 +9,6 @@ var Back = module.exports = function reconnect(callback, opts) { this.attempt = (+opts.attempt || 0) + 1; // Current attempt. this.factor = opts.factor || 2; // Back off factor. - // - //...
[fix] revert previous change
jcrugzz_back
train
js
e39ffe337fe3afb7ad83f4c2c51f443b55a70c04
diff --git a/accessLogger/accessLogger.go b/accessLogger/accessLogger.go index <HASH>..<HASH> 100644 --- a/accessLogger/accessLogger.go +++ b/accessLogger/accessLogger.go @@ -33,5 +33,5 @@ func (a *AccessLogResponseWriter) WriteHeader(code int) { } func (a *AccessLogResponseWriter) HTTPResponseType() string { - ret...
Fix TIP version error: Sprintf format %s has arg of wrong type byte
Luzifer_go_helpers
train
go
a0bb72ab64fafed37f584389021b2a1ea127d506
diff --git a/user-manager/api/src/main/java/com/peterphi/usermanager/util/UserManagerBearerToken.java b/user-manager/api/src/main/java/com/peterphi/usermanager/util/UserManagerBearerToken.java index <HASH>..<HASH> 100644 --- a/user-manager/api/src/main/java/com/peterphi/usermanager/util/UserManagerBearerToken.java +++ ...
Bugfix: if token is null then it cannot be a Service Bearer Token, so return false rather than NullPointerException
petergeneric_stdlib
train
java
c9baaed70d3040d04024b3d5326247aaa234bbf1
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index <HASH>..<HASH> 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,16 +1,9 @@ <?php -// preload source files -require dirname(__DIR__) . DIRECTORY_SEPARATOR . 'src.php'; -// autoload test files -spl_autoload_register( - function ($class) { ...
Refactors test bootstrap Sets error reporting to -1 and turns on display errors Defines a test root constant to aid in finding /tests/_files/* Makes use of Composer autoloader to ease autoloading of vfsStream
auraphp_Aura.Uri
train
php
709bc86e40d5919a01bd13c9aff7ea0011597404
diff --git a/src/selectors/entities/posts.js b/src/selectors/entities/posts.js index <HASH>..<HASH> 100644 --- a/src/selectors/entities/posts.js +++ b/src/selectors/entities/posts.js @@ -6,6 +6,7 @@ import {createSelector} from 'reselect'; import {getCurrentUser} from 'selectors/entities/users'; import {Posts} from...
Don't consider posts from same user if either is a system message
mattermost_mattermost-redux
train
js
d71d04f9c42a213c460e42dd82fee4f34850c660
diff --git a/lib/mincer/context.js b/lib/mincer/context.js index <HASH>..<HASH> 100644 --- a/lib/mincer/context.js +++ b/lib/mincer/context.js @@ -406,6 +406,7 @@ Context.prototype.annotateError = function(err, klass) { } err.message = prefix + err.message + ' (in ' + location + ')'; + err.type = 'MINCER_PROC...
Mark type of thrown errors. Closes #<I>
nodeca_mincer
train
js
832748afb0208831d97160b6bfcfedf06824cfb0
diff --git a/source/rafcon/gui/models/library_state.py b/source/rafcon/gui/models/library_state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/models/library_state.py +++ b/source/rafcon/gui/models/library_state.py @@ -58,7 +58,7 @@ class LibraryStateModel(AbstractStateModel): # logger.debug("initi...
feat(library_state): Convert debug to verbose log "Do not initialize state copy ..." is just printed too often without any gain for users.
DLR-RM_RAFCON
train
py
5e3e18a72dff8b9bb34ce6b7e0e228e29fd48b6f
diff --git a/client/client_test.go b/client/client_test.go index <HASH>..<HASH> 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -18,7 +18,6 @@ import ( "path/filepath" "runtime" "strings" - "syscall" "testing" "time" @@ -272,10 +271,7 @@ func testExportBusyboxLocal(t *testing.T, sb integra...
Use OS-agnostic os.SameFile instead of inode comparision This fixes the build of this test under Windows.
moby_buildkit
train
go
aa12a0b03365c2d0ab823dd3a488f661be64c2ca
diff --git a/src/JD/Laradit/Auth/OAuth2.php b/src/JD/Laradit/Auth/OAuth2.php index <HASH>..<HASH> 100644 --- a/src/JD/Laradit/Auth/OAuth2.php +++ b/src/JD/Laradit/Auth/OAuth2.php @@ -15,17 +15,10 @@ class OAuth2 $this->state = null; } - public function authorize() + public function getAuthorizatio...
return url and state + rename method
jrm2k6_laradit
train
php
171cd3018f5509056279d0840cba94503b104cea
diff --git a/pysolr.py b/pysolr.py index <HASH>..<HASH> 100644 --- a/pysolr.py +++ b/pysolr.py @@ -299,7 +299,10 @@ class Results(object): and next_page_query or None def __len__(self): - return self._next_page_query and self.hits or len(self.docs) + if self._next_page_query: + ...
cleanup suggested by acdha
django-haystack_pysolr
train
py
b9602f8ffe4e209aad0fa255d30a9c492b63a53d
diff --git a/aiidalab_widgets_base/structures.py b/aiidalab_widgets_base/structures.py index <HASH>..<HASH> 100644 --- a/aiidalab_widgets_base/structures.py +++ b/aiidalab_widgets_base/structures.py @@ -38,7 +38,7 @@ class StructureManagerWidget(ipw.VBox): SUPPORTED_DATA_FORMATS = {'CifData': 'cif', 'StructureDa...
StructureManagerWidget: allow setting different viewer. (#<I>) By default StructureManagerWidget class uses StructureDataViewer widget to display the structure. This PR allows setting a custom widget for the visualization.
aiidalab_aiidalab-widgets-base
train
py
59dd8b2d99a85cbc4c4388d3982cd1076765b114
diff --git a/lib/OpenLayers/Format/SLD.js b/lib/OpenLayers/Format/SLD.js index <HASH>..<HASH> 100644 --- a/lib/OpenLayers/Format/SLD.js +++ b/lib/OpenLayers/Format/SLD.js @@ -172,14 +172,14 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, { var ruleNodes = this.getElementsByTagNameNS( ...
Fix to "style with no rule returns empty array" via the 'unruly.patch' from tschaub. -<I> points for bad pun, <I> points for catching this in his review of the SLD code. r=me (Closes #<I>) git-svn-id: <URL>
openlayers_openlayers
train
js
efbb41bc633e6c72037b9dfd311b23693335844e
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/OperatorSubtaskState.java b/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/OperatorSubtaskState.java index <HASH>..<HASH> 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/OperatorSubtaskState.java +...
[FLINK-<I>] [checkpoint] OperatorSubtaskState has empty implementations of (un)/registerSharedStates
apache_flink
train
java
6041fd6da7aa78ebc03dfd22af12cf464422a0c6
diff --git a/ores/scorer_models/rev_id_scorer.py b/ores/scorer_models/rev_id_scorer.py index <HASH>..<HASH> 100644 --- a/ores/scorer_models/rev_id_scorer.py +++ b/ores/scorer_models/rev_id_scorer.py @@ -38,7 +38,7 @@ class RevIdScorer(ScorerModel): return { 'prediction': prediction, - ...
Consistently use "probability" in the JSON returned for all models Cliends such as mw-gadget-ScoredRevisions expect all models to follow the same strucuture. The inclusion of "probabilities" instead of "probability" caused JS errors when accessing <URL>
wikimedia_ores
train
py
51f51424e1d29a404d481bfd287279e463e76bfe
diff --git a/lib/httparty.rb b/lib/httparty.rb index <HASH>..<HASH> 100644 --- a/lib/httparty.rb +++ b/lib/httparty.rb @@ -1,13 +1,14 @@ -$:.unshift(File.dirname(__FILE__)) - +require 'pathname' require 'net/http' require 'net/https' -require 'httparty/module_inheritable_attributes' require 'rubygems' gem 'crack', ...
Switched to exact requires instead of load path stuff.
jnunemaker_httparty
train
rb
84ed3d9964ef593f12d26bf67bf3bb562bf5717d
diff --git a/lib/liquid/variable.rb b/lib/liquid/variable.rb index <HASH>..<HASH> 100644 --- a/lib/liquid/variable.rb +++ b/lib/liquid/variable.rb @@ -18,14 +18,14 @@ module Liquid @markup = markup @name = nil @filters = [] - if match = markup.match(/\s*(#{QuotedFragment})(.*)/) + if ...
apply "o" option to regexps to improve process time
Shopify_liquid
train
rb
537258a4563af9d93f7252d62556dd5bf1e7dc29
diff --git a/src/Entity/Abstraction/AbstractEntity.php b/src/Entity/Abstraction/AbstractEntity.php index <HASH>..<HASH> 100644 --- a/src/Entity/Abstraction/AbstractEntity.php +++ b/src/Entity/Abstraction/AbstractEntity.php @@ -71,6 +71,11 @@ abstract class AbstractEntity implements EntityInterface private $positio...
Ignore priveliged properties (properties not defined as part of the entity)
codeblanche_Entity
train
php
87b8f5354a5b757016a42d7ce3011b58107970ba
diff --git a/lxd/daemon.go b/lxd/daemon.go index <HASH>..<HASH> 100644 --- a/lxd/daemon.go +++ b/lxd/daemon.go @@ -362,6 +362,16 @@ func (d *Daemon) Authenticate(w http.ResponseWriter, r *http.Request) (bool, str return false, "", "", err } + // Validate metrics certificates. + if r.URL.Path == "/1.0/metrics" { ...
lxd: Check metrics certificates Allow metrics certificates for the endpoints /<I> and /<I>/metrics.
lxc_lxd
train
go
a59793c46a258369bcd3ae14e2ee01bcbeecb000
diff --git a/django_countries/fields.py b/django_countries/fields.py index <HASH>..<HASH> 100644 --- a/django_countries/fields.py +++ b/django_countries/fields.py @@ -276,7 +276,7 @@ class CountryField(CharField): kwargs["max_length"] = len(self.countries) * 3 - 1 else: kwargs["max_le...
Fix CountryField issues from previous commit In the previous commit I replaced `super(CharField, self)` with `super()` - which was over-eager.
SmileyChris_django-countries
train
py
9ff56edb06ff84c599db96c86fc5b5af106af2c7
diff --git a/test/dummyNotebook_helper.js b/test/dummyNotebook_helper.js index <HASH>..<HASH> 100644 --- a/test/dummyNotebook_helper.js +++ b/test/dummyNotebook_helper.js @@ -1,24 +1,8 @@ -import Immutable from 'immutable'; +import { fromJS } from 'commutable'; // This is only here as a stop gap until we test innard...
Update test to use commutable.
nteract_nteract
train
js
d499893a23d4f86c8cbc0ae32e9f5693387feee3
diff --git a/src/TeamsConnector.php b/src/TeamsConnector.php index <HASH>..<HASH> 100644 --- a/src/TeamsConnector.php +++ b/src/TeamsConnector.php @@ -38,7 +38,7 @@ class TeamsConnector $result = curl_exec($ch); if ($result !== "1") { - throw new \Exception($result); + throw ne...
Adding curl error and curl error code to Exception
sebbmeyer_php-microsoft-teams-connector
train
php
dcebc1e00f5374d0ef42f8db30f7e40062695db5
diff --git a/src/AutoScaler.php b/src/AutoScaler.php index <HASH>..<HASH> 100644 --- a/src/AutoScaler.php +++ b/src/AutoScaler.php @@ -96,8 +96,10 @@ class AutoScaler return $timeToClear->mapWithKeys(function ($timeToClear, $queue) use ($supervisor, $timeToClearAll) { return $timeToClearAll > 0 ...
Fixed #<I>, added a return statement when timeToClearPerQueue = 0, to return minProcesses
laravel_horizon
train
php
13d662a75ae5da2dfd9d85b168574effb7886c77
diff --git a/app/models/rubygem.rb b/app/models/rubygem.rb index <HASH>..<HASH> 100644 --- a/app/models/rubygem.rb +++ b/app/models/rubygem.rb @@ -181,7 +181,7 @@ class Rubygem < ActiveRecord::Base end def to_param - name + name.gsub(/[^#{Patterns::ALLOWED_CHARACTERS}]/, '') end def with_downloads...
Remove not allowed chars from name before use as url. Unfortunately, we have some gems that contains some chars that are not resolved as the URL pattern we have on the routes, so we cannot try to create a link out of them. Ideally we should not save those names, as we have a validation on the Rubygem model, however we...
rubygems_rubygems.org
train
rb,rb
0281f8351eb59760bc89e705d1deb17293374ae6
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -281,10 +281,20 @@ gulp.task('validate:example', 'validate example html files', function() { .pipe(gulpAmpValidator.failAfterError()); }); +function shouldMinifyHtml(file) { + if (config.env !== PROD) { + ...
don't minify source files (#<I>)
ampproject_amp-by-example
train
js
c2f764c5a3233e90091c4ca216cf9d27b4695512
diff --git a/src/phpDocumentor/Descriptor/Builder/Reflector/ConstantAssembler.php b/src/phpDocumentor/Descriptor/Builder/Reflector/ConstantAssembler.php index <HASH>..<HASH> 100644 --- a/src/phpDocumentor/Descriptor/Builder/Reflector/ConstantAssembler.php +++ b/src/phpDocumentor/Descriptor/Builder/Reflector/ConstantAss...
Remove duplicate ns separator in DEFINE Constants that were defined using the DEFINE keyword instead of the CONST keyword received an additional namespace separator at the start. This hurts searchability and with this commit any existing prefixes are stripped before building the full name.
phpDocumentor_phpDocumentor2
train
php
299126c3cb5cf5d77573cd6d18302f1559955890
diff --git a/src/Popover.js b/src/Popover.js index <HASH>..<HASH> 100644 --- a/src/Popover.js +++ b/src/Popover.js @@ -57,11 +57,11 @@ const PopoverContainer = React.createClass({ }, render() { - let { className } = this.props; + let { className, ...props } = this.props; className = ...
Popover.Container allows passing additional props
GitbookIO_styleguide
train
js
1190888d43373326b58ade5428b2259de332f3b4
diff --git a/auto_ml/_version.py b/auto_ml/_version.py index <HASH>..<HASH> 100644 --- a/auto_ml/_version.py +++ b/auto_ml/_version.py @@ -1 +1 @@ -__version__ = "2.1.2" +__version__ = "2.1.3"
standardizes examples and tests on load_ml_model
ClimbsRocks_auto_ml
train
py
c066bf58f3f9481a9f48e5cdfc7747bdfb16b3be
diff --git a/lib/fog/terremark.rb b/lib/fog/terremark.rb index <HASH>..<HASH> 100644 --- a/lib/fog/terremark.rb +++ b/lib/fog/terremark.rb @@ -16,9 +16,9 @@ module Fog raise ArgumentError.new('terremark_username is required to access terremark') end if Fog.mocking? - Fog::Slicehost::Mock.n...
[terremark] train! error on recent cleanup
fog_fog
train
rb
77ac03962e3a0f024dc828d6f83df2b989838618
diff --git a/ui/src/components/button/index.js b/ui/src/components/button/index.js index <HASH>..<HASH> 100644 --- a/ui/src/components/button/index.js +++ b/ui/src/components/button/index.js @@ -1,5 +1,6 @@ const constants = require('../../shared/constants'); const fns = require('../../shared/functions'); +const isSt...
allow to use button as a function
yldio_joyent-portal
train
js
55e007e93cd2663b8c9b61fcb90c287df9730782
diff --git a/lib/dish/plate.rb b/lib/dish/plate.rb index <HASH>..<HASH> 100644 --- a/lib/dish/plate.rb +++ b/lib/dish/plate.rb @@ -30,6 +30,10 @@ module Dish alias_method :as_hash, :to_h + def to_json(*args) + to_h.to_json(*args) + end + private attr_reader :_original_hash
Define `Dish::Plate#to_json`
lassebunk_dish
train
rb
a5cd66bd1a97435101bdc9451cad644c9fb531cd
diff --git a/test/nl/jqno/equalsverifier/coverage/LombokInstanceOfPoint.java b/test/nl/jqno/equalsverifier/coverage/LombokInstanceOfPoint.java index <HASH>..<HASH> 100644 --- a/test/nl/jqno/equalsverifier/coverage/LombokInstanceOfPoint.java +++ b/test/nl/jqno/equalsverifier/coverage/LombokInstanceOfPoint.java @@ -1,3 +...
Added license comment and fixed a typo
jqno_equalsverifier
train
java
77cd2656add3cbda9a94b7f86a0fc6c2062a699e
diff --git a/gbdxtools/idaho.py b/gbdxtools/idaho.py index <HASH>..<HASH> 100644 --- a/gbdxtools/idaho.py +++ b/gbdxtools/idaho.py @@ -284,7 +284,7 @@ class Idaho(): bandstr = { 'RGBN': '0,1,2', - 'WORLDVIEW_8_BAND': '4,3,2', + 'WORLDVIEW_8_B...
changed band numbers in create_leaflet_viewer
DigitalGlobe_gbdxtools
train
py
e270d8663929ada50eb6c273d69d6eccecb38ea7
diff --git a/audiogen/sampler.py b/audiogen/sampler.py index <HASH>..<HASH> 100644 --- a/audiogen/sampler.py +++ b/audiogen/sampler.py @@ -208,7 +208,7 @@ def _pyaudio_callback(wavgen): return str(data), pyaudio.paContinue return cb -def play(gen, blocking=True, raw_samples=False): +def play(channels, blocking=T...
Add support for playback of multiple channels Use the same generator -> one channel, sequence of generators -> multiple channels logic in the PyAudio sampler.play() function as used in the write_wave() function. This allows live playback of muliple channels.
casebeer_audiogen
train
py
6ccfec58f75cbf5e30fa9cfc1749ab4e3523aa07
diff --git a/lib/regentanz/template_compiler.rb b/lib/regentanz/template_compiler.rb index <HASH>..<HASH> 100644 --- a/lib/regentanz/template_compiler.rb +++ b/lib/regentanz/template_compiler.rb @@ -16,6 +16,7 @@ module Regentanz Dir.chdir(stack_path) do options[:parameters] = load_top_level_file('param...
Add support for conditions in regentanz
burtcorp_regentanz
train
rb
fec726602c1bc3ad9f4ffdf10c75cbbab498024f
diff --git a/library/WT/Controller/Base.php b/library/WT/Controller/Base.php index <HASH>..<HASH> 100644 --- a/library/WT/Controller/Base.php +++ b/library/WT/Controller/Base.php @@ -244,7 +244,7 @@ class WT_Controller_Base { var browserType = "'.$BROWSERTYPE.'"; var WT_SCRIPT_NAME = "'.WT_SCRIPT_NAME.'"; ...
Assume PHP time is the same as MySQL time. Both should use the same underlying OS function. Saves a DB query. Only call time() once. For consistency, and for a very minor performance tweak.
fisharebest_webtrees
train
php
f9de83b170b39dfba877a69e07c24f19ed8315f0
diff --git a/urbansim/utils/misc.py b/urbansim/utils/misc.py index <HASH>..<HASH> 100644 --- a/urbansim/utils/misc.py +++ b/urbansim/utils/misc.py @@ -167,7 +167,16 @@ def reindex(series1, series2): table. In both of those cases, the series would be indexed on the foreign table and would require a second ste...
reindex needs to use merge not loc because it's SO much faster
UDST_urbansim
train
py
cfc3e0377a353661f0a97ebec7ca5a43693a4d96
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -200,6 +200,7 @@ function DiscordClient(options) { if ( Object.keys(self.servers).every(function(s) { s = self.servers[s]; + if (s.unavailable) return; return s.member_count <...
Fix crash for larger bots. Thanks @Downy#<I> Had no large bots to test this new change.
izy521_discord.io
train
js
fac3df78cfaaa8038fcf9fcdd6bc562345823624
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,8 @@ from setuptools import setup -from HackerNewsAPI import __version__, __author__, __license__ +__author__ = 'Robert P. Cope' +__version__ = '0.1.0' +__license__ = 'LGPL v3' +__date__ = 'October 2014' setup(name...
Testing to see if I can't make some new CI work..
rpcope1_HackerNewsAPI-Py
train
py
c817385281ba1e2d5f98402404e3b36a7f1f3842
diff --git a/lib/fluent/plugin/out_splunk_hec.rb b/lib/fluent/plugin/out_splunk_hec.rb index <HASH>..<HASH> 100644 --- a/lib/fluent/plugin/out_splunk_hec.rb +++ b/lib/fluent/plugin/out_splunk_hec.rb @@ -143,6 +143,7 @@ module Fluent::Plugin c.ca_file = @ca_file c.ca_path = @ca_path c.ciphers ...
Add proxy environment variables to connection (#<I>)
splunk_fluent-plugin-splunk-hec
train
rb
10bae7d016b7ce1f75790481aa4824589f06e760
diff --git a/src/classes/sigma.classes.quad.js b/src/classes/sigma.classes.quad.js index <HASH>..<HASH> 100644 --- a/src/classes/sigma.classes.quad.js +++ b/src/classes/sigma.classes.quad.js @@ -252,11 +252,10 @@ var axis = this.axis(c1, c2), col = true; - for (var i = 0; i < 4; i++) { - ...
Slight improvement over a boolean multiplication in quad code
jacomyal_sigma.js
train
js
2b0df58176d4a5a553996223f730bf30f4e996be
diff --git a/src/Dev/Backtrace.php b/src/Dev/Backtrace.php index <HASH>..<HASH> 100644 --- a/src/Dev/Backtrace.php +++ b/src/Dev/Backtrace.php @@ -86,6 +86,7 @@ class Backtrace $frame['function'] == $fnSpec[1] ) { $match = true; + ...
ENH Minor performance enhancement for backtrace. Don't keep processing when we've found a match.
silverstripe_silverstripe-framework
train
php
464ef25898ebd88c95d3578aae6318ef4985d72b
diff --git a/src/client/ClientDataResolver.js b/src/client/ClientDataResolver.js index <HASH>..<HASH> 100644 --- a/src/client/ClientDataResolver.js +++ b/src/client/ClientDataResolver.js @@ -46,7 +46,7 @@ class ClientDataResolver { if (typeof user === 'string') return this.client.users.get(user) || null; if (...
fix(ClientDataResolver): return a user in resolveUser when passing guild (#<I>)
discordjs_discord.js
train
js
654f1381a08dca3219320c0d0cbac8efe0944eb5
diff --git a/lib/class/database.js b/lib/class/database.js index <HASH>..<HASH> 100644 --- a/lib/class/database.js +++ b/lib/class/database.js @@ -55,6 +55,9 @@ alchemy.create(function Database() { } }; + // Cache the found collections + this.cache = {}; + this.connect(); }; @@ -104,6 +107,11 @@ alche...
Speed up querying by caching the collection objects
skerit_alchemy
train
js
f10e798b25f5f7b1bb433f01614586e8dec20d18
diff --git a/lilypond/interp.py b/lilypond/interp.py index <HASH>..<HASH> 100644 --- a/lilypond/interp.py +++ b/lilypond/interp.py @@ -43,8 +43,7 @@ def parse(s): duration = 16 curr_octave = 4 offset = 0 - token_matcher = "(%s%s?%s|%s)%s?"%(RE_NOTE, RE_8VE, RE_ACCIDENTALS, RE_REST, - RE_DUR...
made code formatting more consistent with my style
jtauber_sebastian
train
py
fa497c499ea4e6d5a964b4eb194725bab85ff45b
diff --git a/parser.py b/parser.py index <HASH>..<HASH> 100644 --- a/parser.py +++ b/parser.py @@ -531,15 +531,19 @@ class ImportParser(LineBasedParser): except UnicodeDecodeError: # The spec says names are *typically* utf8 encoded # but that isn't enforced by ...
Fix unicode email address parsing
jelmer_python-fastimport
train
py
bda8efda12cb321ade39b07c75957da04d29888f
diff --git a/pygccxml/declarations/typedef.py b/pygccxml/declarations/typedef.py index <HASH>..<HASH> 100644 --- a/pygccxml/declarations/typedef.py +++ b/pygccxml/declarations/typedef.py @@ -20,7 +20,7 @@ class typedef_t(declaration.declaration_t, byte_info.byte_info): declaration.declaration_t.__init__(self, ...
Do not define byte_size and byte_align if decl_type is None this will allow to mock the object for testing, without passing a decl_type as argument.
gccxml_pygccxml
train
py
d3099a6ed2afd751088e180b8f2397cc639f7d83
diff --git a/run.php b/run.php index <HASH>..<HASH> 100644 --- a/run.php +++ b/run.php @@ -175,5 +175,5 @@ if (!$options['quiet']) { echo "=======" . PHP_EOL . PHP_EOL; echo "Reporting Completed." . PHP_EOL; } - -exit(0); +$exitCode = $errorCounts[ERROR] > 0?1:0; +exit($exitCode);
Added a exit code appropriate to the error count.
PHPCheckstyle_phpcheckstyle
train
php
7e6db1c58b461273727704bbb0349fe53e637910
diff --git a/src/js/lightbox.js b/src/js/lightbox.js index <HASH>..<HASH> 100644 --- a/src/js/lightbox.js +++ b/src/js/lightbox.js @@ -302,7 +302,7 @@ if (self.options.maxWidth && self.options.maxWidth < maxImageWidth) { maxImageWidth = self.options.maxWidth; } - if (self.options.max...
Bugfix - MaxHeight wouldn't work. Seems like there is a bug in line <I>, the code is comparing against width but we want height.
lokesh_lightbox2
train
js
18b2a7884b66a1c9bacd3a9d271e9b74a50c0d29
diff --git a/executor/executor.go b/executor/executor.go index <HASH>..<HASH> 100644 --- a/executor/executor.go +++ b/executor/executor.go @@ -466,6 +466,9 @@ func (e *CheckTableExec) doCheckPartitionedTable(tbl table.PartitionedTable) err func (e *CheckTableExec) doCheckTable(tbl table.Table) error { for _, idx :...
admin: only check public index (#<I>)
pingcap_tidb
train
go
9887ec09e31018c60f0410b8aa1aeb33146812c4
diff --git a/libraries/core/classes/PipelineManager/index.js b/libraries/core/classes/PipelineManager/index.js index <HASH>..<HASH> 100644 --- a/libraries/core/classes/PipelineManager/index.js +++ b/libraries/core/classes/PipelineManager/index.js @@ -283,7 +283,9 @@ class PipelineManager { // Cleanup. event...
PWA-<I>: Removed retry mechanism from bypassed pipeline requests
shopgate_pwa
train
js
2335ad576435d2642976518f5c214e08f20c8b43
diff --git a/spec/unit/provider/user/directoryservice_spec.rb b/spec/unit/provider/user/directoryservice_spec.rb index <HASH>..<HASH> 100755 --- a/spec/unit/provider/user/directoryservice_spec.rb +++ b/spec/unit/provider/user/directoryservice_spec.rb @@ -606,6 +606,11 @@ describe Puppet::Type.type(:user).provider(:dire...
(maint) Fix directoryservice spec order issue. The directoryservice provider caches some information such as OS version and groups. If a spec runs before the directoryservice spec that causes information to be cached, expected stubs in the directoryservice spec will not be invoked. The fix is to remove the instance ...
puppetlabs_puppet
train
rb
b862e0e632738e574f1a6f1cb7d146e67604e513
diff --git a/blueflood-core/src/test/java/com/rackspacecloud/blueflood/internal/HttpJsonResourceTest.java b/blueflood-core/src/test/java/com/rackspacecloud/blueflood/internal/HttpJsonResourceTest.java index <HASH>..<HASH> 100644 --- a/blueflood-core/src/test/java/com/rackspacecloud/blueflood/internal/HttpJsonResourceTe...
ninja fix broken build.
rackerlabs_blueflood
train
java
a9658113215c258c2c1448e30f3ec1c1b256c988
diff --git a/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java b/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java index <HASH>..<HASH> 100644 --- a/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java +++ b/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java @@ -94,6 +94,11 @@ public...
[jonalv-fingerprint-<I>.x] first optimization brings down fingerprinting time to about <I>% of what it was in the beginning git-svn-id: <URL>
cdk_cdk
train
java
2db9e1e01850a94fbe056c3d6635e7a255c78364
diff --git a/Item.php b/Item.php index <HASH>..<HASH> 100644 --- a/Item.php +++ b/Item.php @@ -129,10 +129,12 @@ class Item * * @access public * @return array All elements of this item. + * @throws InvalidOperationException on ATOM feeds if either a content or link element is missing. + * @...
RSS1 feed entries also have mandatory elements.
mibe_FeedWriter
train
php
1e25e30da1f8c8ea3916fdcc886b19626cfda20c
diff --git a/UtilSet/src/com/navercorp/utilset/network/NetworkMonitor.java b/UtilSet/src/com/navercorp/utilset/network/NetworkMonitor.java index <HASH>..<HASH> 100644 --- a/UtilSet/src/com/navercorp/utilset/network/NetworkMonitor.java +++ b/UtilSet/src/com/navercorp/utilset/network/NetworkMonitor.java @@ -770,9 +770,7 ...
Change return statement in finally clause for it can overshadow exact reason
naver_android-utilset
train
java
f6f822f231a05a7ce8cd9efab2bbb126ff844c86
diff --git a/lib/loglevel.js b/lib/loglevel.js index <HASH>..<HASH> 100644 --- a/lib/loglevel.js +++ b/lib/loglevel.js @@ -80,6 +80,9 @@ function localStorageAvailable() { try { + window.localStorage.test = 'test'; + window.localStorage.removeItem('test'); + ...
Added fix for Private mode in Safari
pimterry_loglevel
train
js
1fe1c650a6b01e8f5f9c8dff7a1bb5ad132588db
diff --git a/src/setuptools_scm/config.py b/src/setuptools_scm/config.py index <HASH>..<HASH> 100644 --- a/src/setuptools_scm/config.py +++ b/src/setuptools_scm/config.py @@ -112,6 +112,8 @@ class Configuration(object): """ Read Configuration from pyproject.toml (or similar) """ + if n...
Avoid file-not-found errors when pyproject.toml isn't present
pypa_setuptools_scm
train
py
adf3eed8bd3deca2a410bfcb9ee62be93c4a4dd5
diff --git a/src/config/webpack.js b/src/config/webpack.js index <HASH>..<HASH> 100644 --- a/src/config/webpack.js +++ b/src/config/webpack.js @@ -141,11 +141,7 @@ const createWebpackConfig = (module.exports.createWebpackConfig = (argv, config) options: { camelCase: true, ...
Update localIdentName to cover different directory structures.
abcnews_aunty
train
js
fc91ff4ce4abefe7e967bff70257780ebc02013e
diff --git a/core/src/main/java/net/automatalib/automata/transout/impl/MealyTransition.java b/core/src/main/java/net/automatalib/automata/transout/impl/MealyTransition.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/net/automatalib/automata/transout/impl/MealyTransition.java +++ b/core/src/main/java/net/autom...
Update MealyTransition.java
LearnLib_automatalib
train
java
52257bbe3a525016b3836c51c17a78c0b59dc059
diff --git a/views/partials/header/jumbo.blade.php b/views/partials/header/jumbo.blade.php index <HASH>..<HASH> 100644 --- a/views/partials/header/jumbo.blade.php +++ b/views/partials/header/jumbo.blade.php @@ -33,8 +33,7 @@ @if (get_field('header_dropdown_links', 'option') === true && \M...
Add dropdown links class @ jumbo navbar
helsingborg-stad_Municipio
train
php
85225fa004e9ed9d8a7955fe70c64636d73192d7
diff --git a/src/Tooltip/Tooltip.js b/src/Tooltip/Tooltip.js index <HASH>..<HASH> 100644 --- a/src/Tooltip/Tooltip.js +++ b/src/Tooltip/Tooltip.js @@ -1,6 +1,7 @@ import React, {PureComponent, cloneElement} from 'react' import PropTypes from 'prop-types' import classnames from 'classnames' +import {ios} from '../uti...
fix double touch on tooltip anchor in ios
rambler-digital-solutions_rambler-ui
train
js
a72cc4e85f1dd547a46cd7795eca9971c3f51d0d
diff --git a/pt-BR/auth.php b/pt-BR/auth.php index <HASH>..<HASH> 100644 --- a/pt-BR/auth.php +++ b/pt-BR/auth.php @@ -1,5 +1,6 @@ <?php return [ + /* |-------------------------------------------------------------------------- | Authentication Language Lines @@ -10,6 +11,8 @@ return [ | these ...
Update auth.php in pt-BR
caouecs_Laravel-lang
train
php
c713ce8f7562d751941d0da8be47c77a2766f0db
diff --git a/SpiceyPy/wrapper.py b/SpiceyPy/wrapper.py index <HASH>..<HASH> 100644 --- a/SpiceyPy/wrapper.py +++ b/SpiceyPy/wrapper.py @@ -1240,7 +1240,6 @@ def eknseg(handle): def ekntab(): - #Todo: test ekntab n = ctypes.c_int() libspice.ekntab_c(ctypes.byref(n)) return n.value @@ -1344,12 +134...
fixed issue in ektnam that caused travis for python <I> to fail.
AndrewAnnex_SpiceyPy
train
py
1df292f064b3e2f38d6050ba264f7c80fc3ed100
diff --git a/packages/ember-htmlbars/tests/helpers/text_area_test.js b/packages/ember-htmlbars/tests/helpers/text_area_test.js index <HASH>..<HASH> 100644 --- a/packages/ember-htmlbars/tests/helpers/text_area_test.js +++ b/packages/ember-htmlbars/tests/helpers/text_area_test.js @@ -1,9 +1,15 @@ import run from "ember-...
Tweaks for text-area tests
emberjs_ember.js
train
js
b89e789982f847630079c960342f4a6b2a5290f3
diff --git a/src/instrumentation/index.js b/src/instrumentation/index.js index <HASH>..<HASH> 100644 --- a/src/instrumentation/index.js +++ b/src/instrumentation/index.js @@ -84,7 +84,7 @@ function getRawGroupedTracesTimings (traces, groupedTraces) { } var groupedByTransaction = grouper(traces, function (trace)...
Use transaction name + transaction start as grouping keys Transactions can have same name, so include start time to make sure transactions and traces are grouped correctly.
opbeat_opbeat-react
train
js
c0fbbe55b7a4fff61cc4deca09fe72d33cd16977
diff --git a/mobly/controllers/android_device_lib/jsonrpc_client_base.py b/mobly/controllers/android_device_lib/jsonrpc_client_base.py index <HASH>..<HASH> 100644 --- a/mobly/controllers/android_device_lib/jsonrpc_client_base.py +++ b/mobly/controllers/android_device_lib/jsonrpc_client_base.py @@ -46,8 +46,8 @@ import ...
Increase the app start timeout for json rpc clients (#<I>)
google_mobly
train
py
166051c5028c90a403b30f668cc24588e7ebb260
diff --git a/pytestsalt/salt/log_handlers/pytest_log_handler.py b/pytestsalt/salt/log_handlers/pytest_log_handler.py index <HASH>..<HASH> 100644 --- a/pytestsalt/salt/log_handlers/pytest_log_handler.py +++ b/pytestsalt/salt/log_handlers/pytest_log_handler.py @@ -71,7 +71,7 @@ def setup_handlers(): # can't process ...
Sometimes `localhost` doesn't resolve
saltstack_pytest-salt
train
py
f01afffe448fd5f1409e1dab53bcd0d88a1ed1eb
diff --git a/Tests/test.js b/Tests/test.js index <HASH>..<HASH> 100644 --- a/Tests/test.js +++ b/Tests/test.js @@ -88,12 +88,20 @@ try { { exec(`${nativePath} c --CWD ValidationSystem --local ./ValidationSystem/Modules`); exec(`${nativePath} d --CWD ValidationSystem --local ./ValidationSystem/Modules`); + exec...
added r and x to the test.js
IntrospectiveSystems_xGraph
train
js
e58ab03dda937efc5cef422319051b12af892bd7
diff --git a/graylog2-server/src/main/java/org/graylog2/rest/resources/streams/alerts/StreamAlertResource.java b/graylog2-server/src/main/java/org/graylog2/rest/resources/streams/alerts/StreamAlertResource.java index <HASH>..<HASH> 100644 --- a/graylog2-server/src/main/java/org/graylog2/rest/resources/streams/alerts/St...
REST API for cached realtime alert checks of streams. /cc @dennisoelkers
Graylog2_graylog2-server
train
java
1f2a872f544e07fc8255b15adbbaaf1dd828fffb
diff --git a/src/sngrl/SphinxSearch/SphinxSearch.php b/src/sngrl/SphinxSearch/SphinxSearch.php index <HASH>..<HASH> 100644 --- a/src/sngrl/SphinxSearch/SphinxSearch.php +++ b/src/sngrl/SphinxSearch/SphinxSearch.php @@ -229,4 +229,10 @@ class SphinxSearch } return false; } -} \ No newline at end o...
added support to call escapeString for the Query Language
sngrl_sphinxsearch
train
php
5e1283c181d9f551b0cc2f47a6ffb513dc768a37
diff --git a/test/multiple_choice_expectation_test.rb b/test/multiple_choice_expectation_test.rb index <HASH>..<HASH> 100644 --- a/test/multiple_choice_expectation_test.rb +++ b/test/multiple_choice_expectation_test.rb @@ -26,6 +26,14 @@ class MultipleChoiceExpectation < Minitest::Test end end + should "para...
Added tests for MultipleChoiceExpectation. Test when parameter is present but is nil
LessEverything_less_interactions
train
rb
5cde181486284d48089a99246bb2f4ba31635596
diff --git a/src/Resources/Resources.js b/src/Resources/Resources.js index <HASH>..<HASH> 100644 --- a/src/Resources/Resources.js +++ b/src/Resources/Resources.js @@ -362,7 +362,7 @@ export default class Resources extends Tool mutations.forEach(mutation => { mutation.addedNod...
fix node.tagName maybe undefined
liriliri_eruda
train
js
3e3ad678a2f318fe57e566c17afc610f191cf688
diff --git a/lib/EarthIT/CMIPREST/SQLStorage.php b/lib/EarthIT/CMIPREST/SQLStorage.php index <HASH>..<HASH> 100644 --- a/lib/EarthIT/CMIPREST/SQLStorage.php +++ b/lib/EarthIT/CMIPREST/SQLStorage.php @@ -120,7 +120,11 @@ implements EarthIT_CMIPREST_Storage $filterSql = $search->getFilter()->toSql($tableAlias, $th...
In SQLStorage#buildSearchSql, check comparator class before assuming its a fieldwise one
EarthlingInteractive_PHPCMIPREST
train
php
6b8c41158db091643d7607491ea08117e782b070
diff --git a/pkg/mux/msg/msg_test.go b/pkg/mux/msg/msg_test.go index <HASH>..<HASH> 100644 --- a/pkg/mux/msg/msg_test.go +++ b/pkg/mux/msg/msg_test.go @@ -862,6 +862,32 @@ func TestProcessPrivateRaw(t *testing.T) { FeeCurrency: "USD", }, }, + "funding trade executed": { + pld: []byte(`[0,"fte",[636854,"f...
ftu and fte msg type mapping to data structs test coverage
bitfinexcom_bitfinex-api-go
train
go
abb4e25a541dd48de85b20579117b5c8f7e501c5
diff --git a/lib/html/proofer/checkable.rb b/lib/html/proofer/checkable.rb index <HASH>..<HASH> 100644 --- a/lib/html/proofer/checkable.rb +++ b/lib/html/proofer/checkable.rb @@ -133,7 +133,11 @@ module HTML end def unslashed_directory?(file) - File.directory?(file) && !file.end_with?(File::SEPAR...
Proper check for `followlocation`
gjtorikian_html-proofer
train
rb
0f0cdead5f788df148c88978e010bcc5d4b7355d
diff --git a/src/jsonspec/reference/providers.py b/src/jsonspec/reference/providers.py index <HASH>..<HASH> 100644 --- a/src/jsonspec/reference/providers.py +++ b/src/jsonspec/reference/providers.py @@ -105,6 +105,11 @@ class FilesystemProvider(Provider): spec = filename[l:-5] with ope...
FilesystemProvider reads the "id" field if exists.
johnnoone_json-spec
train
py
22dbe9db904e1dbcc75c7c51cff97d8bd5e40401
diff --git a/library/rampage/core/services/DoctrineORMConfigDelegator.php b/library/rampage/core/services/DoctrineORMConfigDelegator.php index <HASH>..<HASH> 100644 --- a/library/rampage/core/services/DoctrineORMConfigDelegator.php +++ b/library/rampage/core/services/DoctrineORMConfigDelegator.php @@ -43,7 +43,10 @@ cl...
Changed doctrine orm config delegator to keep path behind data/
tux-rampage_rampage-php
train
php
18884e20e4b8d018951a46129d5718916f77b596
diff --git a/examples/java/src/test/java/simple/HookSteps.java b/examples/java/src/test/java/simple/HookSteps.java index <HASH>..<HASH> 100644 --- a/examples/java/src/test/java/simple/HookSteps.java +++ b/examples/java/src/test/java/simple/HookSteps.java @@ -9,6 +9,11 @@ import static org.junit.Assert.assertEquals; pu...
add assertion that shows hooks not being cleared for each scenario
cucumber_cucumber-jvm
train
java
ab6ad867935ea18c67368f5f0f9716421f201af4
diff --git a/drivers/sdcard/sdcard.py b/drivers/sdcard/sdcard.py index <HASH>..<HASH> 100644 --- a/drivers/sdcard/sdcard.py +++ b/drivers/sdcard/sdcard.py @@ -100,9 +100,10 @@ class SDCard: if csd[0] & 0xC0 == 0x40: # CSD version 2.0 self.sectors = ((csd[8] << 8 | csd[9]) + 1) * 1024 eli...
drivers/sdcard: Fix CSD version <I> device size calculation.
micropython_micropython
train
py
935f9432be38059e1ab5e0ad08738a8683c3d97d
diff --git a/test/core/interface.spec.js b/test/core/interface.spec.js index <HASH>..<HASH> 100644 --- a/test/core/interface.spec.js +++ b/test/core/interface.spec.js @@ -74,8 +74,7 @@ describe('interface-ipfs-core tests', function () { }] }) - // TODO needs MFS module to be updated - // tests.filesMFS(defa...
test: re-enable MFS tests (#<I>) No idea why or how these became commented out. License: MIT
ipfs_js-ipfs
train
js
8a42440521ad479dddb11b22c514ad20f9c894ab
diff --git a/lib/Site.php b/lib/Site.php index <HASH>..<HASH> 100644 --- a/lib/Site.php +++ b/lib/Site.php @@ -42,7 +42,7 @@ class Site extends \Timber\Site \add_filter('wp_title', array( $this, 'wpTitle' )); - \add_filter('template_include', array( $this, 'renderView' ), 100000); + \add_filt...
Allow underscores in view file names, ensure woocommerce compatability
StoutLogic_understory
train
php,php
993af5994444b3d9f7f31857eb6e051dc6b2154d
diff --git a/core/src/polyfills.js b/core/src/polyfills.js index <HASH>..<HASH> 100644 --- a/core/src/polyfills.js +++ b/core/src/polyfills.js @@ -7,7 +7,7 @@ import './polyfill-switches'; // Polyfill Custom Elements v1 with global namespace pollution -import '@webcomponents/custom-elements'; +import '@webcomponent...
fix(polyfills): Include original source code of `@webcomponents/custom-elements`.
OnsenUI_OnsenUI
train
js
bd71f2ab048d46182d8c41038d782b6e8189c73f
diff --git a/test/test_any_instance_of.rb b/test/test_any_instance_of.rb index <HASH>..<HASH> 100644 --- a/test/test_any_instance_of.rb +++ b/test/test_any_instance_of.rb @@ -19,4 +19,12 @@ describe Muack::AnyInstanceOf do obj.f.should.eq true Muack.verify.should.eq true end + + should 'proxy any_instance...
test for any_instance_of with proxy with a block
godfat_muack
train
rb
0078f7196b756f6c00a9f9ac05b7c21d324e73fa
diff --git a/wafer/users/serializers.py b/wafer/users/serializers.py index <HASH>..<HASH> 100644 --- a/wafer/users/serializers.py +++ b/wafer/users/serializers.py @@ -6,3 +6,6 @@ class UserSerializer(serializers.ModelSerializer): class Meta: model = get_user_model() + # Arguably not useful to exp...
Don't expose password via the api for now
CTPUG_wafer
train
py
9e0774199a5052e6ad639dc295fb01e26f4e48dd
diff --git a/js/acx.js b/js/acx.js index <HASH>..<HASH> 100644 --- a/js/acx.js +++ b/js/acx.js @@ -20,6 +20,7 @@ module.exports = class acx extends Exchange { 'fetchTickers': true, 'fetchOHLCV': true, 'withdraw': true, + 'fetchOrder': true, ...
Implementation of fetchOrder for ACX
ccxt_ccxt
train
js
3d1108ac0e1ea921c066da2f9d8e78ada5cb7a76
diff --git a/src/main/java/io/openliberty/tools/common/plugins/util/BinaryScannerUtil.java b/src/main/java/io/openliberty/tools/common/plugins/util/BinaryScannerUtil.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/openliberty/tools/common/plugins/util/BinaryScannerUtil.java +++ b/src/main/java/io/openliberty/to...
Remove MP5 workaround after issue <I> fixed.
WASdev_ci.common
train
java
0294ad24e17ceface375d79da416791701e6c22e
diff --git a/xdata-web.py b/xdata-web.py index <HASH>..<HASH> 100644 --- a/xdata-web.py +++ b/xdata-web.py @@ -9,7 +9,7 @@ class Server(object): <h1>XDATA Web (running over CherryPy)</h1>""" @cherrypy.expose - def app(self, module, *pargs, **kwargs): + def service(self, module, *pargs, **kwargs): ...
changed name of service path from 'app' to 'service'
Kitware_tangelo
train
py
373639ed0f733529705849f9a96621bfb72148d4
diff --git a/validator/testcases/scripting.py b/validator/testcases/scripting.py index <HASH>..<HASH> 100644 --- a/validator/testcases/scripting.py +++ b/validator/testcases/scripting.py @@ -56,22 +56,8 @@ def test_js_file(err, filename, data, line=0, context=None): if context is None: context = ContextGe...
Removed traceback safety after completing full diggy run
mozilla_amo-validator
train
py
75a3457d0de1e267a332059d713f211366fd548f
diff --git a/src/com/opera/core/systems/WaitState.java b/src/com/opera/core/systems/WaitState.java index <HASH>..<HASH> 100644 --- a/src/com/opera/core/systems/WaitState.java +++ b/src/com/opera/core/systems/WaitState.java @@ -252,7 +252,7 @@ public class WaitState { void onError(int tag) { synchronized (lock...
Reduce logging level for WaitState errors
operasoftware_operaprestodriver
train
java
afb3e61915dbbb0472869fc19ed23a6309fb96e3
diff --git a/Interfaces/Views/ViewServiceInterface.php b/Interfaces/Views/ViewServiceInterface.php index <HASH>..<HASH> 100644 --- a/Interfaces/Views/ViewServiceInterface.php +++ b/Interfaces/Views/ViewServiceInterface.php @@ -86,12 +86,24 @@ interface ViewServiceInterface * If no file with the given name is found,...
Improved resolveTemplatePath()
electro-framework_interop
train
php
bdd629b667ca8ea5d1fef9b55516917ca6a8f404
diff --git a/test/basic.js b/test/basic.js index <HASH>..<HASH> 100644 --- a/test/basic.js +++ b/test/basic.js @@ -79,7 +79,9 @@ describe('figaro', function() { it('should find PASSWORD environment variable', function(done) { log.info(process.env.TRAVIS); if (process.env.TRAVIS === 't...
adding test case that runs inside travis
cmanzana_node-figaro
train
js