hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
04b4ba952c5b1b2a55996e44f873a206116d4e3a
diff --git a/lib/mongo_mapper/plugins/querying.rb b/lib/mongo_mapper/plugins/querying.rb index <HASH>..<HASH> 100644 --- a/lib/mongo_mapper/plugins/querying.rb +++ b/lib/mongo_mapper/plugins/querying.rb @@ -11,7 +11,7 @@ module MongoMapper include PluckyMethods def find_each(opts={}) - supe...
Using transformer for plucky query.
mongomapper_mongomapper
train
2ccc46c7da2b97a9d4bfede96527033085b3e72c
diff --git a/src/models/emissions/transformEmissions.js b/src/models/emissions/transformEmissions.js index <HASH>..<HASH> 100644 --- a/src/models/emissions/transformEmissions.js +++ b/src/models/emissions/transformEmissions.js @@ -11,7 +11,13 @@ const transformEmissions = (transform, completion, ...emissionsArr) => new...
Guards against throwing transform functions as arguments
kitten_rxjs-diagrams
train
68b52fedf5b22891a4fc9cf121417ced38d0ea00
diff --git a/rolepermissions/utils.py b/rolepermissions/utils.py index <HASH>..<HASH> 100644 --- a/rolepermissions/utils.py +++ b/rolepermissions/utils.py @@ -1,11 +1,14 @@ from __future__ import unicode_literals import re -import collections +try: + from collections.abc import Callable +except ImportError: + ...
Fix import of Callable for Python <I> Python <I> moved Callable to collections.abc and Python <I> removes Callable from collections module
vintasoftware_django-role-permissions
train
396243b9b8c20c988c9c382af3db4002bb157be3
diff --git a/Staq/core/ground/stack/Setting.php b/Staq/core/ground/stack/Setting.php index <HASH>..<HASH> 100644 --- a/Staq/core/ground/stack/Setting.php +++ b/Staq/core/ground/stack/Setting.php @@ -90,7 +90,27 @@ class Setting { return $this->get_section( $section ); } - private function get_section( $sections ...
No private method in a stackable class, protected instead
Elephant418_Staq
train
869223bb00a871f7a1114558bce1edfa839afb21
diff --git a/Auth/OpenID/Message.php b/Auth/OpenID/Message.php index <HASH>..<HASH> 100644 --- a/Auth/OpenID/Message.php +++ b/Auth/OpenID/Message.php @@ -34,7 +34,16 @@ $Auth_OpenID_OPENID_NS = 'OpenID namespace'; // with "openid." $Auth_OpenID_BARE_NS = 'Bare namespace'; +/** + * An Auth_OpenID_Mapping maintains ...
[project @ Auth_OpenID_Mapping docs]
openid_php-openid
train
e5b39862cb4f8f3097cc8ab2dc606ddb1bd1febb
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -605,6 +605,14 @@ module ActiveRecord end end + def needs_migra...
add convenience methods for checking migrations if a rails project needs to be migrated ActiveRecord::Migrator.needs_migration? will be true or false if the current version matches the last version.
rails_rails
train
ac52fa36fb1e713b0c1749d0ff460e554cd4f0ae
diff --git a/lib/squire/configuration.rb b/lib/squire/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/squire/configuration.rb +++ b/lib/squire/configuration.rb @@ -44,9 +44,7 @@ module Squire elsif type == '?' !!get_value(name) else - value = get_value(name) - - val...
Fix fallback to method_missing chain
smolnar_squire
train
faa5509d910ae9e59b28ecfc825c60744a1bb4bd
diff --git a/lib/json/api/resource_controller.rb b/lib/json/api/resource_controller.rb index <HASH>..<HASH> 100644 --- a/lib/json/api/resource_controller.rb +++ b/lib/json/api/resource_controller.rb @@ -11,11 +11,11 @@ module JSON class ResourceController < ActionController::Base include ResourceFor - ...
Reverted back from using before_filters to parse fields, includes and filters. The before filters were causing load order issues when used with other filters, particuarly authorization filters.
cerebris_jsonapi-resources
train
dace492f754867c9a9c017cfc09653b72c2bb0f3
diff --git a/requests2aiohttp/__init__.py b/requests2aiohttp/__init__.py index <HASH>..<HASH> 100644 --- a/requests2aiohttp/__init__.py +++ b/requests2aiohttp/__init__.py @@ -1,2 +1,2 @@ -__version__ = version = "0.7.0" +__version__ = version = "0.8.0" version_info = tuple([int(d) for d in version.split("-")[0].split(...
Simpler approach to distinguish session's arguments All aiohttp arguments must be prefixed by aio_ without exception. The rest will be sent to the super class. This change removes the need of inspect. Also remove the RuntimeError and let Python raises its traditional TypeError when an argument is unexpected. So the d...
cecton_requests2aiohttp
train
e55b1c11a525524b44a0bf04613150babb61220e
diff --git a/src/url.js b/src/url.js index <HASH>..<HASH> 100644 --- a/src/url.js +++ b/src/url.js @@ -114,6 +114,22 @@ function utf8PercentEncode(c) { return str; } +function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (inpu...
Remove (probably) invalid use of decodeURIComponent Instead implements the utf8 decoding algorithm described in the spec now.
jsdom_whatwg-url
train
c278916ad48d32a3d519a21c3b804382098fe9ce
diff --git a/app/assets/javascripts/cocoon.js b/app/assets/javascripts/cocoon.js index <HASH>..<HASH> 100644 --- a/app/assets/javascripts/cocoon.js +++ b/app/assets/javascripts/cocoon.js @@ -5,6 +5,10 @@ content.replace(reg_exp, with_str); } + function trigger_removal_callback(node) { + node.parent().pare...
Added new callback solution, allowing both insertion and removal callbacks.
nathanvda_cocoon
train
5cb1b5112fcefc0cf31d50c0463e710a99a65bf2
diff --git a/lib/Associations/Many.js b/lib/Associations/Many.js index <HASH>..<HASH> 100644 --- a/lib/Associations/Many.js +++ b/lib/Associations/Many.js @@ -176,7 +176,7 @@ function extendInstance(Model, Instance, Driver, association, opts, cb) { if (cb === null) { return association.model.find(conditions, l...
Removes console.log from hasMany get accessor
dresende_node-orm2
train
047729a84fd59fb7f581a81b1b2e393ece6b61b3
diff --git a/rules/readfile.go b/rules/readfile.go index <HASH>..<HASH> 100644 --- a/rules/readfile.go +++ b/rules/readfile.go @@ -25,6 +25,7 @@ type readfile struct { gosec.MetaData gosec.CallList pathJoin gosec.CallList + clean gosec.CallList } // ID returns the identifier for this rule @@ -56,6 +57,21 @...
Fix the rule G<I> to handle the case when the input is cleaned as a variable assignment
securego_gosec
train
b444dd1f04c32f0cf502fedfae859e63d6656217
diff --git a/micrometer-core/src/test/java/io/micrometer/core/instrument/binder/jpa/HibernateMetricsTest.java b/micrometer-core/src/test/java/io/micrometer/core/instrument/binder/jpa/HibernateMetricsTest.java index <HASH>..<HASH> 100644 --- a/micrometer-core/src/test/java/io/micrometer/core/instrument/binder/jpa/Hibern...
Use non-deprecated CacheRegionStatistics instead of SecondLevelCacheStatistics
micrometer-metrics_micrometer
train
f986e4154e5edb9a47f3946e0d8528382629c3f8
diff --git a/TYPO3.Neos/Classes/Controller/Backend/BackendController.php b/TYPO3.Neos/Classes/Controller/Backend/BackendController.php index <HASH>..<HASH> 100644 --- a/TYPO3.Neos/Classes/Controller/Backend/BackendController.php +++ b/TYPO3.Neos/Classes/Controller/Backend/BackendController.php @@ -36,7 +36,6 @@ class B...
[TASK] Remove unnecessary SkipCsrfProtection annotations in controllers This is no longer necessary since #<I>. Change-Id: Ibcacd7e<I>cf<I>ab<I>bddcefc8f<I>f<I>e<I>f Original-Commit-Hash: <I>b7ee<I>f<I>a<I>fb<I>d<I>e<I>b<I>a7f<I>
neos_neos-development-collection
train
2e800befa466446d3a59703abb1f33c72ff00767
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -187,7 +187,6 @@ function encode(value, buffer, start, _len) { // if(!buffer) // buffer = Buffer.allocUnsafe(len) //throw new Error('buffer must be provided') - if (type === 7) throw new Error('reserved type') ...
improve test coverage up to <I>%
dominictarr_bipf
train
870d773722b9812112dab93268d8c53e5a36ac6b
diff --git a/rpg2d/quad/phase.go b/rpg2d/quad/phase.go index <HASH>..<HASH> 100644 --- a/rpg2d/quad/phase.go +++ b/rpg2d/quad/phase.go @@ -52,12 +52,20 @@ type NarrowPhaseHandler interface { ResolveCollisions(Chunk) Chunk } -func (q quadNode) RunPhase(at stime.Time, inputPhase InputPhaseHandler, narrowPhase Narrow...
Move RunPhases to a function call | This enables it to access the private methods of Quad but doesn't add unnecessary clutter to public interface
ghthor_filu
train
3637724f4cfa6fa350394a9236863a33abb18a11
diff --git a/dygraph-canvas.js b/dygraph-canvas.js index <HASH>..<HASH> 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -106,16 +106,16 @@ DygraphLayout.prototype._evaluateLineCharts = function() { for (var j = 0; j < dataset.length; j++) { var item = dataset[j]; - var foo; + var...
Clean up variable name and restore comment.
danvk_dygraphs
train
f343e18819a42141642197ca328a975a5076aaac
diff --git a/domain-http/interface/src/main/java/org/jboss/as/domain/http/server/ConsoleMode.java b/domain-http/interface/src/main/java/org/jboss/as/domain/http/server/ConsoleMode.java index <HASH>..<HASH> 100644 --- a/domain-http/interface/src/main/java/org/jboss/as/domain/http/server/ConsoleMode.java +++ b/domain-htt...
[WFCORE-<I>] An admin-only server with no console installed should <I> when the console is requested
wildfly_wildfly-core
train
37c33d2cc88de369feff7027f3d1e24b305ef496
diff --git a/src/components/cursor.js b/src/components/cursor.js index <HASH>..<HASH> 100644 --- a/src/components/cursor.js +++ b/src/components/cursor.js @@ -133,7 +133,7 @@ module.exports.Component = registerComponent('cursor', { // Ignore the cursor. if (cursorEl === intersectedEl) { return; } - // ig...
address comments for ryan betts cursor mouseleave (for #<I>)
aframevr_aframe
train
472a21f9892e129e9679c5b6ca87077cc442f7f5
diff --git a/lib/restforce/error_code.rb b/lib/restforce/error_code.rb index <HASH>..<HASH> 100644 --- a/lib/restforce/error_code.rb +++ b/lib/restforce/error_code.rb @@ -130,6 +130,7 @@ module Restforce class LoginChallengePending < ResponseError; end class LoginMustUseSecurityToken < ResponseError; end ...
Handle the `MALFORMED_QUERY` error returned by Salesforce This handles the undocumented `MALFORMED_QUERY` error returned by the Salesforce API and raises a `Restforce:: ErrorCode::MalformedQuery` exception.
restforce_restforce
train
b16d12f6b01fe18e19392a379d384ab8688612e8
diff --git a/addon/components/select-2.js b/addon/components/select-2.js index <HASH>..<HASH> 100644 --- a/addon/components/select-2.js +++ b/addon/components/select-2.js @@ -125,6 +125,9 @@ var Select2Component = Ember.Component.extend({ self.sendAction('query', query, deferred); deferred.promise.t...
Add fix for typeahead + ember-data issue (#<I>), <I>-beta1
iStefo_ember-select-2
train
75b8f1f13e0e8c5a4ac45ada3a98c9547e578961
diff --git a/framework/core/src/Install/Actions/InstallAction.php b/framework/core/src/Install/Actions/InstallAction.php index <HASH>..<HASH> 100644 --- a/framework/core/src/Install/Actions/InstallAction.php +++ b/framework/core/src/Install/Actions/InstallAction.php @@ -17,7 +17,6 @@ use Zend\Diactoros\Response\JsonRes...
Add field for table prefix in web installer Related to #<I>.
flarum_core
train
763cccc9f84299984a3a7971818431ae7c670c3b
diff --git a/tests/operators/keys_test.py b/tests/operators/keys_test.py index <HASH>..<HASH> 100644 --- a/tests/operators/keys_test.py +++ b/tests/operators/keys_test.py @@ -1,4 +1,5 @@ import pytest +from array import array def test_expect_key(should): @@ -32,55 +33,65 @@ def test_expect_key(should): def test_...
improve keys operator tests and add array tests
grappa-py_grappa
train
9f3c87de78f1ce0c17e8f7434c515b72b9c42464
diff --git a/components/src/main/resources/META-INF/resources/css/butterfaces-waiting.css b/components/src/main/resources/META-INF/resources/css/butterfaces-waiting.css index <HASH>..<HASH> 100644 --- a/components/src/main/resources/META-INF/resources/css/butterfaces-waiting.css +++ b/components/src/main/resources/META...
BUT-<I> Switch waiting panel from bootstrap modal panel to custom implementation
ButterFaces_ButterFaces
train
1f1174f9814f605f8f706de2e920e847bb8e31c5
diff --git a/libargos/collect/collector.py b/libargos/collect/collector.py index <HASH>..<HASH> 100644 --- a/libargos/collect/collector.py +++ b/libargos/collect/collector.py @@ -432,9 +432,6 @@ class Collector(QtGui.QWidget): #logging.debug("Array slice: {}".format(str(sliceList))) slicedArray = self...
Moved fieldName selection into FieldRti.__getitem__
titusjan_argos
train
676d36bb1bd00b7b74c47e248b97d0772e8d6957
diff --git a/mind-map/scia-reto/src/main/java/com/igormaznitsa/sciareto/ui/MainFrame.java b/mind-map/scia-reto/src/main/java/com/igormaznitsa/sciareto/ui/MainFrame.java index <HASH>..<HASH> 100644 --- a/mind-map/scia-reto/src/main/java/com/igormaznitsa/sciareto/ui/MainFrame.java +++ b/mind-map/scia-reto/src/main/java/c...
minor refactoring of icons for open project
raydac_netbeans-mmd-plugin
train
4a32db2f874620134b1940046675dde04f972493
diff --git a/calendar-bundle/contao/dca/tl_module.php b/calendar-bundle/contao/dca/tl_module.php index <HASH>..<HASH> 100644 --- a/calendar-bundle/contao/dca/tl_module.php +++ b/calendar-bundle/contao/dca/tl_module.php @@ -237,8 +237,8 @@ class tl_module_calendar extends Backend return array ( 'cal_list' ...
[Calendar] add new time ranges to the dca
contao_contao
train
c7f92b37240263ad8314136574cad51a0aa73aee
diff --git a/cassiopeia/core/staticdata/champion.py b/cassiopeia/core/staticdata/champion.py index <HASH>..<HASH> 100644 --- a/cassiopeia/core/staticdata/champion.py +++ b/cassiopeia/core/staticdata/champion.py @@ -114,7 +114,9 @@ class ChampionData(CoreData): version = kwargs.get("version", get_latest_ver...
check for uninitialized version if spells is in ChampionData but passive is not
meraki-analytics_cassiopeia
train
dd1cfc34aae44928978006b2521b6d9bf901fe8b
diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index <HASH>..<HASH> 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -22,6 +22,9 @@ const ( // // 5ms, 10ms, 20ms, 40ms, 80ms, 160ms, 320ms, 640ms, 1.3s, 2.6s, 5.1s, 10.2s, 20.4s, 41s, 82s maxRetries = 15 + //...
Deduplicate work keys Integration tests output reduced from <I> to <I> lines.
atlassian_smith
train
3cd845e63ad4ebfc5545583d78bf25595ebd6fe3
diff --git a/jquery.dateFormat-1.0.js b/jquery.dateFormat-1.0.js index <HASH>..<HASH> 100644 --- a/jquery.dateFormat-1.0.js +++ b/jquery.dateFormat-1.0.js @@ -206,7 +206,7 @@ if (format.charAt(i + 1) == "d") { break; } - ...
Adding string type cast, regarding issue #7
phstc_jquery-dateFormat
train
9b2f766f828f53878633273caed10319bacffbe1
diff --git a/help_text.php b/help_text.php index <HASH>..<HASH> 100644 --- a/help_text.php +++ b/help_text.php @@ -2351,7 +2351,7 @@ case 'MEMORY_LIMIT': ini_restore('memory_limit'); $dflt_mem=ini_get('memory_limit'); $title=i18n::translate('Memory limit'); - $text=i18n::translate('By default, your server allows ...
Add I<I>N hints
fisharebest_webtrees
train
992a0c481a43b9b8a1f697a11efff07866d50299
diff --git a/.babelrc.js b/.babelrc.js index <HASH>..<HASH> 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -1,5 +1,6 @@ module.exports = function(api) { const plugins = [ + '@babel/plugin-transform-flow-strip-types', '@babel/plugin-syntax-dynamic-import', '@babel/plugin-proposal-class-properties', ...
build(.babelrc.js): strip flow types before class properties transform
jcoreio_redux-utils
train
9d48dd71b0c87c87d0d27ee4941f5db0ddd54358
diff --git a/lib/opFns.js b/lib/opFns.js index <HASH>..<HASH> 100644 --- a/lib/opFns.js +++ b/lib/opFns.js @@ -1017,10 +1017,10 @@ function makeCall (runState, callOptions, localOpts, cb) { runState.gasLeft.isub(results.gasUsed) // save results to memory - if (results.vm.return && (!results.vm.exceptionE...
use VMError object everywhere
ethereumjs_ethereumjs-vm
train
c0a62973031e6a5f372d8c1c022ce38facd6a05d
diff --git a/src/Admin/JQAdm/Type/Attribute/Lists/Standard.php b/src/Admin/JQAdm/Type/Attribute/Lists/Standard.php index <HASH>..<HASH> 100644 --- a/src/Admin/JQAdm/Type/Attribute/Lists/Standard.php +++ b/src/Admin/JQAdm/Type/Attribute/Lists/Standard.php @@ -30,7 +30,7 @@ class Standard */ public function batch() ...
Streamlined batch implementation for types
aimeos_ai-admin-jqadm
train
7afdcb8d7c51b6b220a292d7895ef4ca2466fc48
diff --git a/cmd/gosh/main_test.go b/cmd/gosh/main_test.go index <HASH>..<HASH> 100644 --- a/cmd/gosh/main_test.go +++ b/cmd/gosh/main_test.go @@ -90,6 +90,12 @@ var interactiveTests = [][]string{ " bar\n", "foo bar\n", }, + { + "echo foo\\\n", + "> ", + "bar\n", + "foobar\n", + }, } func TestInteractiv...
syntax: fix Parser.Incomplete on escaped newlines It should return true, not false. To fix this, record entire statements as open clauses, not just their components. While at it, set Parser.r to a newline character to actually call the Interactive callback. Fixes #<I>.
mvdan_sh
train
1ac84c9aa9addd0d37809854adc12bbe358b3411
diff --git a/app.js b/app.js index <HASH>..<HASH> 100755 --- a/app.js +++ b/app.js @@ -95,12 +95,20 @@ var ontorrent = function(torrent) { var key; if (process.arch === 'x64') { try { - key = registry('HKLM/Software/Wow6432Node/VideoLAN/VLC'); - } catch (e) {} + key = registry('HKLM/Software/Wow...
double check window's registry path for VLC
mafintosh_peerflix
train
9cb820fd5a58737bfb25d343189c55f99b7ab860
diff --git a/src/controls/ForwardSkipButton.js b/src/controls/ForwardSkipButton.js index <HASH>..<HASH> 100644 --- a/src/controls/ForwardSkipButton.js +++ b/src/controls/ForwardSkipButton.js @@ -10,7 +10,7 @@ class ForwardSkipButton extends PurePropTypesComponent { } ForwardSkipButton.propTypes = { - onForwardSkip...
Trailing comma removed.
benwiley4000_cassette
train
16026ac7f814980a1ccdfbef2286428165c0cd2a
diff --git a/gcm/tests.py b/gcm/tests.py index <HASH>..<HASH> 100644 --- a/gcm/tests.py +++ b/gcm/tests.py @@ -94,7 +94,7 @@ class GCMMessageTest(TestCase): Device.objects.all().send_message('test message') devices = Device.objects.filter(is_active=False) - self.assertEqual(set(devices.values...
Don't check explicit device ids
bogdal_django-gcm
train
4ae467a5db905065ba78506eeeb74e65d88a9011
diff --git a/extensions/parseFlex.js b/extensions/parseFlex.js index <HASH>..<HASH> 100644 --- a/extensions/parseFlex.js +++ b/extensions/parseFlex.js @@ -2,10 +2,10 @@ import { css } from 'styled-components'; const parseFlexChar = (char) => { if (char === '0') { - return 'flex: 0 0 auto;'; + return 'flex: ...
Fix flexfield first and last margin
Bandwidth_shared-components
train
39e2c441464738dc31a507d8bdcf5447da2b12b6
diff --git a/scroll_test.go b/scroll_test.go index <HASH>..<HASH> 100644 --- a/scroll_test.go +++ b/scroll_test.go @@ -332,7 +332,7 @@ func TestScrollWithSlice(t *testing.T) { // Should return all documents. Just don't call Do yet! sliceQuery := NewSliceQuery().Id(0).Max(2) - svc := client.Scroll(testIndexName).T...
Fix the ScrollWithSlice test
olivere_elastic
train
670e26acc4c613e0c5e4cb9c4214b136a81a8ac1
diff --git a/src/components/fieldComponents/TextArea.js b/src/components/fieldComponents/TextArea.js index <HASH>..<HASH> 100644 --- a/src/components/fieldComponents/TextArea.js +++ b/src/components/fieldComponents/TextArea.js @@ -1,29 +1,24 @@ -import React from 'react'; +import React, { Component, PropTypes } from 'r...
Start es6-refactor in Group: - Replaced React.createClass for es6 class and reduce methods in render to extract them as es6 class properties in order to get better readability. - Refactor in TextArea, TextBox
redux-autoform_redux-autoform
train
5013369f7e16b86556c5c6838977bf0c06c8a1c6
diff --git a/lib/interpolate.js b/lib/interpolate.js index <HASH>..<HASH> 100644 --- a/lib/interpolate.js +++ b/lib/interpolate.js @@ -1,18 +1,25 @@ var syntax = /\{\{([\w\-]+)\}\}/g; var syntaxCleanup = /((?:[\r\n])*)\{\{([\w\-]+)\}\}((?:[\r\n])*)/g; +var syntaxUnescape = /\\\{\\\{([\w\-]+)\\\}\\\}/g; module.expo...
Add support for escaping placeholders.
IndigoUnited_automaton
train
f6281cfa3a5f8bf2b7755ec04e4f2d8aa3cdce70
diff --git a/src/Console/LlumCommand.php b/src/Console/LlumCommand.php index <HASH>..<HASH> 100644 --- a/src/Console/LlumCommand.php +++ b/src/Console/LlumCommand.php @@ -126,25 +126,21 @@ abstract class LlumCommand extends Command /** * Install /config/app.php file using bash script. - * - * @para...
More refactoring with scrutinizer
acacha_llum
train
a73648a61d5002132f4558ede58fb9dbd5ec910d
diff --git a/lib/core/util/cli.rb b/lib/core/util/cli.rb index <HASH>..<HASH> 100644 --- a/lib/core/util/cli.rb +++ b/lib/core/util/cli.rb @@ -140,7 +140,7 @@ module CLI '--version', 'nucleon.core.util.cli.options.version' ) - option_bool(:color, true, + option_bool(:color, Util::Cons...
Using the console use_colors method to populate the color option defaults in the cli utility class.
coralnexus_nucleon
train
0da122d8b6dcf3b25b7bd49daa2e0b38120a8d47
diff --git a/main/ejml-core/src/org/ejml/data/DMatrixSparseCSC.java b/main/ejml-core/src/org/ejml/data/DMatrixSparseCSC.java index <HASH>..<HASH> 100644 --- a/main/ejml-core/src/org/ejml/data/DMatrixSparseCSC.java +++ b/main/ejml-core/src/org/ejml/data/DMatrixSparseCSC.java @@ -117,13 +117,13 @@ public class DMatrixSpa...
changed copy() and createLike() so that it returns the same type
lessthanoptimal_ejml
train
2d3514183c1039b3690539d3f9ffc1d03af252af
diff --git a/src/nwmatcher.js b/src/nwmatcher.js index <HASH>..<HASH> 100644 --- a/src/nwmatcher.js +++ b/src/nwmatcher.js @@ -256,6 +256,10 @@ NW.Dom = (function(global) { // matches simple id, tag & class selectors RE_SIMPLE_SELECTOR = new RegExp('^(?:\\*|[.#]?' + encoding + ')$'), + RE_SIMPLE_SELECTOR_QSA =...
added a more specific RE_SIMPLE_SELECTOR_QSA to speed up some slow 'querySelectorAll' selection on IE8, moved USE_QSA check as first check in the same conditional with others
dperini_nwmatcher
train
f7b2f3a61084ce64067f39198b3cba4378d202ca
diff --git a/build/build.py b/build/build.py index <HASH>..<HASH> 100755 --- a/build/build.py +++ b/build/build.py @@ -257,10 +257,7 @@ def runJavac(sourceDir, classDir, classPath): ensureDirExists(classDir) sourceFiles = findFilesWithExtension(sourceDir, "java") f = open("temp-javac-list", "w") - if os.name ...
build.py: Avoid unnecessary Windows special-casing when writing to files For files opened in text mode (which is the default) (as opposed to binary mode, the 'b' mode flag), calling `file.write("\n")` causes the platform-appropriate newline byte sequence to be written to the file (CRLF on Windows, LF elsewhere). See <...
validator_validator
train
7639c2608a11315b7099931757a3885c2306a3bf
diff --git a/commands/create.go b/commands/create.go index <HASH>..<HASH> 100644 --- a/commands/create.go +++ b/commands/create.go @@ -110,7 +110,18 @@ func create(command *Command, args *Args) { gh := github.NewClient(project.Host) if gh.IsRepositoryExist(project) { - ui.Errorln("Existing repository detected. U...
Prevent setting a public upstream when creating a private repo. Fixes #<I>
github_hub
train
e9ad4b102e74eee7e9df42c8bc9df57c78e398b5
diff --git a/armstrong/dev/dev_django.py b/armstrong/dev/dev_django.py index <HASH>..<HASH> 100644 --- a/armstrong/dev/dev_django.py +++ b/armstrong/dev/dev_django.py @@ -99,18 +99,19 @@ def run_django_cmd(cmd, *args, **kwargs): # Commandline access @load_django_settings -def run_django_cli(): - args = sys.argv[...
Make the CLI entry point a little more flexible.
armstrong_armstrong.dev
train
c64bd03605d3bdeac581cf0138663b706995542f
diff --git a/peppol-directory-publisher/src/main/java/com/helger/pd/publisher/app/pub/page/PagePublicSearchExtended.java b/peppol-directory-publisher/src/main/java/com/helger/pd/publisher/app/pub/page/PagePublicSearchExtended.java index <HASH>..<HASH> 100644 --- a/peppol-directory-publisher/src/main/java/com/helger/pd/...
Showing build date in secure area as well
phax_peppol-directory
train
e6339e52fc5453a63ce1603873c9da9b715b6b85
diff --git a/stmt/stmts/show.go b/stmt/stmts/show.go index <HASH>..<HASH> 100644 --- a/stmt/stmts/show.go +++ b/stmt/stmts/show.go @@ -20,6 +20,7 @@ import ( "github.com/pingcap/tidb/plan/plans" "github.com/pingcap/tidb/rset" "github.com/pingcap/tidb/rset/rsets" + "github.com/pingcap/tidb/sessionctx/db" "github...
stmt/stmts: fix show stmt use current db bug.
pingcap_tidb
train
e0b6a31613bc48bc5785f2bea655f832848392d8
diff --git a/ethminer/miner.go b/ethminer/miner.go index <HASH>..<HASH> 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -25,6 +25,7 @@ func NewDefaultMiner(coinbase []byte, ethereum ethchain.EthManager) Miner { reactChan := make(chan ethutil.React, 1) // This is the channel that receives 'updates' when ev...
Buffered channel to fix not ready (blocking)
ethereum_go-ethereum
train
ed22a86e111672d8123a5bb126dbaae0816a1eb5
diff --git a/lib/requires_approval.rb b/lib/requires_approval.rb index <HASH>..<HASH> 100644 --- a/lib/requires_approval.rb +++ b/lib/requires_approval.rb @@ -296,8 +296,14 @@ module RequiresApproval def set_up_version_delegates self.fields_requiring_approval.each do |f| define_method("#{f}=") do |...
not creating an unapproved version when nothing has changed
LifebookerInc_requires_approval
train
2ecb3407e306a2ccf49ced607e235eb93d013a64
diff --git a/grimoire_elk/enriched/mediawiki.py b/grimoire_elk/enriched/mediawiki.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/enriched/mediawiki.py +++ b/grimoire_elk/enriched/mediawiki.py @@ -75,8 +75,7 @@ class MediaWikiEnrich(Enrich): for revision in revisions: user = self.get_sh_identi...
[enrich-mediawiki] Replace list with yield This code replaces the list used in the method get_identities with a yield, thus reducing the memory footprint.
chaoss_grimoirelab-elk
train
a1cb3b763f1604acc397cac9bbd789142c4c87a9
diff --git a/aws/data_source_aws_backup_plan.go b/aws/data_source_aws_backup_plan.go index <HASH>..<HASH> 100644 --- a/aws/data_source_aws_backup_plan.go +++ b/aws/data_source_aws_backup_plan.go @@ -36,6 +36,8 @@ func dataSourceAwsBackupPlan() *schema.Resource { func dataSourceAwsBackupPlanRead(d *schema.ResourceDat...
service/backup: Fix tfproviderlint AWSR<I> errors. (#<I>)
terraform-providers_terraform-provider-aws
train
8ef6fdde7202ecceef9973e75975894b9d200ff6
diff --git a/pkg/controller/deployment/sync.go b/pkg/controller/deployment/sync.go index <HASH>..<HASH> 100644 --- a/pkg/controller/deployment/sync.go +++ b/pkg/controller/deployment/sync.go @@ -376,7 +376,7 @@ func (dc *DeploymentController) getNewReplicaSet(deployment *extensions.Deployme return nil, err } if ...
Restore event messages for replica sets in the deployment controller
kubernetes_kubernetes
train
8841c9e320cce460c52471edf51fa9cb5b7709b7
diff --git a/src/apdu4j/remote/CmdlineRemoteTerminal.java b/src/apdu4j/remote/CmdlineRemoteTerminal.java index <HASH>..<HASH> 100644 --- a/src/apdu4j/remote/CmdlineRemoteTerminal.java +++ b/src/apdu4j/remote/CmdlineRemoteTerminal.java @@ -88,7 +88,7 @@ public class CmdlineRemoteTerminal implements Runnable { return...
bug: missing argument, which resulted in empty PIN
martinpaljak_apdu4j
train
b6af92c178216d97c7afad5de679f5282ef42fbd
diff --git a/spec/parser.spec.js b/spec/parser.spec.js index <HASH>..<HASH> 100644 --- a/spec/parser.spec.js +++ b/spec/parser.spec.js @@ -21,16 +21,16 @@ describe('Parser', function() { }); - describe('isEmpty()', function() { + describe('isVoid()', function() { it('detects an empty node', function() {...
Rename parser#isEmpty to #isVoid I wanted a stronger name since isEmpty can easily be mistaken for a method that considers a node with only whitespace es 'empty'. IsVoid only returns true if there are no child nodes or characters at all.
livingdocsIO_editable.js
train
9b251f2d3d8b55cba28981ca3ef7e210688cf92f
diff --git a/pyspectral/tests/test_reflectance.py b/pyspectral/tests/test_reflectance.py index <HASH>..<HASH> 100644 --- a/pyspectral/tests/test_reflectance.py +++ b/pyspectral/tests/test_reflectance.py @@ -22,7 +22,7 @@ """Unit testing the 3.7 micron reflectance calculations.""" -from pyspectral.near_infrared_ref...
Test that default values are used in Calculator
pytroll_pyspectral
train
4012c2f687fef7e323273aa4d6afcc0e4325ffc5
diff --git a/grimoire_elk/enriched/enrich.py b/grimoire_elk/enriched/enrich.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/enriched/enrich.py +++ b/grimoire_elk/enriched/enrich.py @@ -31,7 +31,7 @@ from datetime import timedelta import pkg_resources from functools import lru_cache -from elasticsearch import Elas...
[enriched] Use RequestsHttpConnection in Elasticsearch objs This code updates the statements that initialize the Elasticsearch objects (imported from the library elasticsearch) to use `RequestsHttpConnection` as connection class, thus avoiding `elasticsearch.exceptions.SSLError: ConnectionError` exceptions.
chaoss_grimoirelab-elk
train
2fad3373a45575b6ee65e5b67162432d32a50bde
diff --git a/cumulusci/tasks/salesforce/update_profile.py b/cumulusci/tasks/salesforce/update_profile.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/salesforce/update_profile.py +++ b/cumulusci/tasks/salesforce/update_profile.py @@ -237,10 +237,15 @@ class ProfileGrantAllAccess(MetadataSingleEntityTransformTask, ...
Only remove record type defaults for record types that have a default specified in task options
SFDO-Tooling_CumulusCI
train
51d733f418ab2cb29de0b9effa1d3bbd8254d342
diff --git a/cmd/kubeadm/app/cmd/reset.go b/cmd/kubeadm/app/cmd/reset.go index <HASH>..<HASH> 100644 --- a/cmd/kubeadm/app/cmd/reset.go +++ b/cmd/kubeadm/app/cmd/reset.go @@ -136,7 +136,7 @@ func (r *Reset) Run(out io.Writer) error { fmt.Printf("failed to unmount directories in /var/lib/kubelet, %s", string(umountOu...
Remove the cni directory when resetting; otherwise kubelet can pick up the wrong config on the next kubeadm init run
kubernetes_kubernetes
train
3c9d364748a3cde3814a7302a3f7da8a1a38c5b4
diff --git a/osbs/http.py b/osbs/http.py index <HASH>..<HASH> 100644 --- a/osbs/http.py +++ b/osbs/http.py @@ -143,7 +143,13 @@ class HttpStream(object): def iter_lines(self): kwargs = { - 'decode_unicode': True + # OpenShift does not respond with any encoding value. + #...
no longer attempt to decoded streamed build logs OpenShift does not respond with any encoding value. This causes requests module to guess it as ISO-<I>-1. Likely, the encoding is actually UTF-8, but we can't guarantee it. Therefore, we take the approach of simply passing through the encoded data with no effort to atte...
projectatomic_osbs-client
train
3c48f1c9a5bfdd1fbdd2cca7b530f3901735597e
diff --git a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/table/client/CloudTable.java b/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/table/client/CloudTable.java index <HASH>..<HASH> 100644 --- a/microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/tab...
Updated docs in CloudTable.java
Azure_azure-sdk-for-java
train
540fec08a1499ed5a3429417147e8849410a3001
diff --git a/lib/undies/tag.rb b/lib/undies/tag.rb index <HASH>..<HASH> 100644 --- a/lib/undies/tag.rb +++ b/lib/undies/tag.rb @@ -3,6 +3,8 @@ require 'undies/buffer' module Undies class Tag < Buffer + attr_reader :attrs + def initialize(name=nil, attrs={}, &block) super() @name = name @@ -1...
added CSS proxy methods to tag object; helpers for setting common id and class attrs
redding_undies
train
4b7e499d1d46be29d803eb974c89678d463ada6b
diff --git a/packages/veritone-csp-generator/src/index.js b/packages/veritone-csp-generator/src/index.js index <HASH>..<HASH> 100644 --- a/packages/veritone-csp-generator/src/index.js +++ b/packages/veritone-csp-generator/src/index.js @@ -165,7 +165,7 @@ const TimeConditionGenerator = modalState => { const dayPartTi...
VTN-<I>-search-by-time-station-local-time-toggle-not-working
veritone_veritone-sdk
train
39a22c47ae4c7d29594eb9804bb5a67fb7ddcacc
diff --git a/pkg/cmd/server/start/start_node.go b/pkg/cmd/server/start/start_node.go index <HASH>..<HASH> 100644 --- a/pkg/cmd/server/start/start_node.go +++ b/pkg/cmd/server/start/start_node.go @@ -246,11 +246,11 @@ func StartNode(config configapi.NodeConfig) error { return err } + RunSDNController(config) no...
Revert SDN and Kubelet initialization ordering This avoids restarting docker after the kubelet has been started.
openshift_origin
train
e728526bee6f2fcae74d228c66f850eb59ee59ff
diff --git a/tests/lib/WPRequest.js b/tests/lib/WPRequest.js index <HASH>..<HASH> 100644 --- a/tests/lib/WPRequest.js +++ b/tests/lib/WPRequest.js @@ -95,7 +95,10 @@ describe( 'WPRequest', function() { it( 'should return a Promise to the request data', function() { mockAgent._response = { body: 'data' }; - ...
Ensure that other request methods also return a real promise
WP-API_node-wpapi
train
bddb07391fb92a4307c19012aecb409f715409e9
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -1173,12 +1173,10 @@ class PathTableRecord(object): ret = struct.pack(self.fmt, self.len_di, self.xattr_length, ext_loc, parent_dir_num) ret += self.directory_identifier - le...
Slight simplification of size calculation.
clalancette_pycdlib
train
59aea7c53b3035d1a88040fa67d817d5ac99ff3e
diff --git a/src/LasallecmsapiServiceProvider.php b/src/LasallecmsapiServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/LasallecmsapiServiceProvider.php +++ b/src/LasallecmsapiServiceProvider.php @@ -1,4 +1,4 @@ -<?php +<?php namespace Lasallecms\Lasallecmsapi; /** * @@ -39,7 +39,7 @@ use Illuminate\Support...
Delete routes from service provider. #1
lasallecms_lasallecms-l5-lasallecmsapi-pkg
train
4a38de0a4b671dbb964e7bcca2d76676305f1658
diff --git a/libkbfs/folder_branch_ops.go b/libkbfs/folder_branch_ops.go index <HASH>..<HASH> 100644 --- a/libkbfs/folder_branch_ops.go +++ b/libkbfs/folder_branch_ops.go @@ -5950,6 +5950,19 @@ func (fbo *folderBranchOps) unstageAfterFailedResolution(ctx context.Context, default: } + // We don't want context canc...
libkbfs: Add more comments
keybase_client
train
fea5f1ffd76f608fca13ddc4b85519ab2fdb8d7f
diff --git a/redisCacheModule.js b/redisCacheModule.js index <HASH>..<HASH> 100644 --- a/redisCacheModule.js +++ b/redisCacheModule.js @@ -121,7 +121,7 @@ function redisCacheModule(config){ refreshKeys[key] = {expiration: exp, lifeSpan: expiration, refresh: refresh}; } else{ - ...
Removing bad cb call.
jpodwys_cache-service-redis
train
2bb266bbaf6512e854f889cd73e65808ab7b0802
diff --git a/spec/parser.spec.js b/spec/parser.spec.js index <HASH>..<HASH> 100644 --- a/spec/parser.spec.js +++ b/spec/parser.spec.js @@ -72,6 +72,21 @@ describe("PEG.js grammar parser", function() { }); }); + /* Canonical simpleEscapeSequence is "\\n". */ + it("parses simpleEscapeSequence", function() { +...
Jasmine: Convert tests of parser's "simpleEscapeSequence" rule
pegjs_pegjs
train
722b1ce5f28a41f314c83d6812761a6ac57d809b
diff --git a/src/lib/wmo/index.js b/src/lib/wmo/index.js index <HASH>..<HASH> 100644 --- a/src/lib/wmo/index.js +++ b/src/lib/wmo/index.js @@ -2,9 +2,10 @@ import r from 'restructure'; import Chunk from '../chunked/chunk'; import Chunked from '../chunked'; +import SkipChunk from '../chunked/skip-chunk'; import Pad...
Added portal parsing for WMO roots Adds parsing for MOPV, MOPT, and MOPR chunks.
wowserhq_blizzardry
train
2c57530fe970fca46f2d74796e706247eaa5cd86
diff --git a/packages/cerebral/src/Controller.js b/packages/cerebral/src/Controller.js index <HASH>..<HASH> 100644 --- a/packages/cerebral/src/Controller.js +++ b/packages/cerebral/src/Controller.js @@ -80,7 +80,7 @@ class Controller extends FunctionTree { } if ( - this.devtools && + !this.devtool...
fix(Views): update compute depmaps on state change
cerebral_cerebral
train
c27bb66058637b0eae8ce72a680e9f6634bbb4da
diff --git a/lib/main.js b/lib/main.js index <HASH>..<HASH> 100755 --- a/lib/main.js +++ b/lib/main.js @@ -188,6 +188,13 @@ server.on('connection', function(socket) { // SockJS sends a heartbeat every 25s so as long as we wait significantly // longer than that to timeout, we shouldn't need to worry about closing ...
Add detailed comment about socket.setTimeout
rstudio_shiny-server
train
641e921b67cb1a7cb2393f2c33a6c270f4d7e836
diff --git a/test/unit/backpack-timeback.test.js b/test/unit/backpack-timeback.test.js index <HASH>..<HASH> 100644 --- a/test/unit/backpack-timeback.test.js +++ b/test/unit/backpack-timeback.test.js @@ -1,36 +1,41 @@ -/* global describe, it */ -var expect = require('expect.js'), +var expect = require('chai').expect, ...
Update backpack-timeback tests to chai
postmanlabs_postman-runtime
train
df530df3a2f0fa18e443e14df9396e63d40da57b
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,8 @@ import sys, os +from livestreamer import __version__ as livestreamer_version + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sy...
docs: Get version by importing.
streamlink_streamlink
train
7324692cc240a791e4c9844a6ef17720ae225035
diff --git a/lib/utils/logging.js b/lib/utils/logging.js index <HASH>..<HASH> 100644 --- a/lib/utils/logging.js +++ b/lib/utils/logging.js @@ -23,7 +23,7 @@ function stamp(args) { } else { // print the curr time. var time = clor[this.color](datefmt(new Date(), 'HH:MM:ss')); - process.stdout.write('[' + time + ...
add space between timestamp & textstring
lukeed_taskr
train
6e442216a544830319d52afbd55c736307617138
diff --git a/src/basis/data.js b/src/basis/data.js index <HASH>..<HASH> 100644 --- a/src/basis/data.js +++ b/src/basis/data.js @@ -782,6 +782,7 @@ value: undefined }); var queryAsFunctionCache = {}; + var queryNestedFunctionCache = {}; function getQueryPathFragment(target, path, index){ var pathFr...
basis.data: fix query for nested properties to produce the same value
basisjs_basisjs
train
ad60046350ea36bddd198fd8d8762efc2b73965b
diff --git a/requests_oauthlib/oauth2_session.py b/requests_oauthlib/oauth2_session.py index <HASH>..<HASH> 100644 --- a/requests_oauthlib/oauth2_session.py +++ b/requests_oauthlib/oauth2_session.py @@ -77,7 +77,7 @@ class OAuth2Session(requests.Session): super(OAuth2Session, self).__init__(**kwargs) ...
`OAuth2Session` constructor now uses its `client.scope` when a `client` is provided and `scope` is not overridden. Fixes #<I>
requests_requests-oauthlib
train
e46210a9f1a8715edb3e1c9408185a4d5a6b2e2e
diff --git a/src/eth/EthereumCdpService.js b/src/eth/EthereumCdpService.js index <HASH>..<HASH> 100644 --- a/src/eth/EthereumCdpService.js +++ b/src/eth/EthereumCdpService.js @@ -144,7 +144,7 @@ export default class EthereumCdpService extends PrivateService { await this.get('allowance').requireAllowance( MK...
Clean up tx manager spec
makerdao_dai.js
train
3fc06c77ea56b7f1ec54709b255900ff3837c03f
diff --git a/src/Http/LdapAuth.php b/src/Http/LdapAuth.php index <HASH>..<HASH> 100644 --- a/src/Http/LdapAuth.php +++ b/src/Http/LdapAuth.php @@ -9,11 +9,15 @@ namespace SURFnet\VPN\Common\Http; +use Psr\Log\LoggerInterface; use SURFnet\VPN\Common\Exception\LdapClientException; use SURFnet\VPN\Common\LdapClient...
log failed authentication, introduce LDAP escaping - introduce `LdapClient::escapeDn` and `LdapClient::escapeFilter` - use escaping of UID - implement logging in case authentication fails
eduvpn_vpn-lib-common
train
c8840cb27819d77d4d64bdd01fbd32687ad921df
diff --git a/lib/class-wp-json-posts.php b/lib/class-wp-json-posts.php index <HASH>..<HASH> 100755 --- a/lib/class-wp-json-posts.php +++ b/lib/class-wp-json-posts.php @@ -612,7 +612,7 @@ class WP_JSON_Posts { foreach ( (array) has_meta( $post_id ) as $meta ) { // Don't expose protected fields. - if ( ! curre...
Actually check if the meta is protected, not just disable all post_meta for unauthorized users
WP-API_WP-API
train
234c7e1526d829422cc432f68a43cfaf79988f79
diff --git a/concrete/src/Application/UserInterface/Sitemap/StandardSitemapProvider.php b/concrete/src/Application/UserInterface/Sitemap/StandardSitemapProvider.php index <HASH>..<HASH> 100644 --- a/concrete/src/Application/UserInterface/Sitemap/StandardSitemapProvider.php +++ b/concrete/src/Application/UserInterface/S...
Check if the site id in $cookieKey is valid in sitemap provider
concrete5_concrete5
train
1af4604e8713b03a85c9c16d402138f96519722c
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -128,7 +128,7 @@ if (typeof window !== 'undefined' && window.Vue) { }; module.exports = { - version: '1.0.0-rc.7', + version: '1.0.0-rc.8', install, Pagination, Dialog,
[build] <I>-rc<I>
ElemeFE_element
train
bc4a45c848b95e90557693221a29c60a145fdf4d
diff --git a/src/src/org/renpy/android/PythonActivity.java b/src/src/org/renpy/android/PythonActivity.java index <HASH>..<HASH> 100644 --- a/src/src/org/renpy/android/PythonActivity.java +++ b/src/src/org/renpy/android/PythonActivity.java @@ -330,17 +330,6 @@ public class PythonActivity extends Activity implements Runn...
PythonActivity: we dont need to manually dispatch events.
kivy_python-for-android
train
34072d81c9eef9cbe4fcf70f29df9cb8af7096cf
diff --git a/textwrap.js b/textwrap.js index <HASH>..<HASH> 100644 --- a/textwrap.js +++ b/textwrap.js @@ -32,8 +32,8 @@ though – stay tuned! } else { var bounding_client_rect = bounds.node().getBoundingClientRect(); var bounds_extracted = {}; - bounds_extra...
change function syntax I’m really nitpicking here, but since we’re assigning different functions to wrap_method() depending on browser support for foreign objects, it seems more logically coherent to declare a variable and assign a function as its value, rather than declaring a function directly using the function key...
vijithassar_d3-textwrap
train
16bd5ceaaddca21a42181550f9eb8769dbad0852
diff --git a/internetarchive/mine.py b/internetarchive/mine.py index <HASH>..<HASH> 100644 --- a/internetarchive/mine.py +++ b/internetarchive/mine.py @@ -1,8 +1,17 @@ import random -from gevent import monkey, queue, spawn -#monkey.patch_all(thread=False) -monkey.patch_all() +try: + from gevent import monkey, que...
Removed hosts parameter. Added "No module named gevent" import error message.
jjjake_internetarchive
train
d9ecf61c4023a4dad174746100f8c486322a2628
diff --git a/nupic/algorithms/anomaly.py b/nupic/algorithms/anomaly.py index <HASH>..<HASH> 100644 --- a/nupic/algorithms/anomaly.py +++ b/nupic/algorithms/anomaly.py @@ -75,8 +75,7 @@ class Anomaly(object): _supportedModes = (MODE_PURE, MODE_LIKELIHOOD, MODE_WEIGHTED) - def __init__(self, slidingWindowSize = N...
Remove prediction shifting from anomaly class.
numenta_nupic
train
9cfe2f54e1f191fea97b21bc0d8148e2a630aed4
diff --git a/metpy/plots/skewt.py b/metpy/plots/skewt.py index <HASH>..<HASH> 100644 --- a/metpy/plots/skewt.py +++ b/metpy/plots/skewt.py @@ -555,9 +555,9 @@ class Hodograph(object): self.ax = plt.figure().add_subplot(1, 1, 1) else: self.ax = ax - ax.set_aspect('equal', 'box')...
Update axes for hodograph plotting
Unidata_MetPy
train
27768180fa54f33a673b0648e60e643f51c202e4
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -92,6 +92,7 @@ Questions.prototype.setData = function(key, val) { return this.visit('setData', key); } utils.set(this.data, key, val); + this.emit('data', key, val); return this; }; @@ -349,11 +350,13 @@ Ques...
adds `data` and `ask` events
jonschlinkert_question-store
train
37ff85c96756d4680852d47327126ee0f2b3fc14
diff --git a/fbchat_archive_parser/parser.py b/fbchat_archive_parser/parser.py index <HASH>..<HASH> 100644 --- a/fbchat_archive_parser/parser.py +++ b/fbchat_archive_parser/parser.py @@ -164,7 +164,9 @@ class FacebookChatHistory: BeautifulSoup does. """ if not use_bs4: - parser = X...
fixed parser encoding not being str in pypy
ownaginatious_fbchat-archive-parser
train
6ecc787489f46ca979df98e097aaa6d5c6bd31e2
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index <HASH>..<HASH> 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -606,6 +606,7 @@ Datetimelike - Bug in :meth:`Series.isin` with ``datetime64[ns]`` dtype and :meth:`.DatetimeIndex.isin` failing to consi...
BUG: first("1M") returning two months when first day is last day of month (#<I>)
pandas-dev_pandas
train
2450824fc7f39edaf20105efe5ee6e3faa861bd5
diff --git a/src/system/modules/metamodels/MetaModelBackend.php b/src/system/modules/metamodels/MetaModelBackend.php index <HASH>..<HASH> 100644 --- a/src/system/modules/metamodels/MetaModelBackend.php +++ b/src/system/modules/metamodels/MetaModelBackend.php @@ -248,7 +248,6 @@ class MetaModelBackend { self::initi...
include style.css only when in metamodels context.
MetaModels_core
train
de7d3aad16e60b04e1e13304a846a5666da53933
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/edit/nls/root/messages.js b/bundles/org.eclipse.orion.client.ui/web/orion/edit/nls/root/messages.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/edit/nls/root/messages.js +++ b/bundles/org.eclipse.orion.client.ui/web/orion/edi...
Bug <I> - Improvements for Format (JSBeautify)
eclipse_orion.client
train
c3e3598e6e3d7e097de2c4277bbafa0be9130f46
diff --git a/owncloud/test/test.py b/owncloud/test/test.py index <HASH>..<HASH> 100644 --- a/owncloud/test/test.py +++ b/owncloud/test/test.py @@ -824,18 +824,79 @@ class TestUserAndGroupActions(unittest.TestCase): self.client.logout() + def test_set_user_attribute(self): + self.assertTrue(self.c...
more User Action tests and testing for correct exeptions
owncloud_pyocclient
train
c58048271f7cc3cfd3568a8dadc9ab045a7ac710
diff --git a/lib/merb-core/config.rb b/lib/merb-core/config.rb index <HASH>..<HASH> 100644 --- a/lib/merb-core/config.rb +++ b/lib/merb-core/config.rb @@ -74,6 +74,7 @@ module Merb # Build a parser for the command line arguments opts = OptionParser.new do |opts| opts.version = Merb::VERS...
add back release identifier to version info
wycats_merb
train
579e4fe8446d2e92c2de9ce1cb60ad610d54420e
diff --git a/Thoth.js b/Thoth.js index <HASH>..<HASH> 100644 --- a/Thoth.js +++ b/Thoth.js @@ -5,6 +5,14 @@ function Timer(callback, dueTime) { this.dueTime = dueTime; } +function Callback(f, args) { + this.f = f; + this.args = args; +} + +Callback.prototype.call = function() { + this.f.apply(undefined, this.a...
Added feature of passing arguments to callbacks
tlewowski_zurvan
train