hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
0ef4af44ce140b60819bc1e7f46b53990b523457
diff --git a/js/vars.go b/js/vars.go index <HASH>..<HASH> 100644 --- a/js/vars.go +++ b/js/vars.go @@ -78,15 +78,16 @@ func (r *renamer) isReserved(name []byte, undeclared js.VarArray) bool { func (r *renamer) getIndex(name []byte) int { index := 0 NameLoop: - for i, b := range name { + for i := len(name) - 1; 0 <=...
JS: change character order for JS variable renaming of 2 or more characters, improves GZIP compression
tdewolff_minify
train
0c4b0df8f5a088d3bb16a8e9d7b89b44e9c0be90
diff --git a/opengl/src/main/java/com/doctoror/particlesdrawable/opengl/GlParticlesView.java b/opengl/src/main/java/com/doctoror/particlesdrawable/opengl/GlParticlesView.java index <HASH>..<HASH> 100644 --- a/opengl/src/main/java/com/doctoror/particlesdrawable/opengl/GlParticlesView.java +++ b/opengl/src/main/java/com/...
setBounds of presenter onSurfaceChanged
Doctoror_ParticlesDrawable
train
0f71256996cce65b0beee3a51262e2f32c1ba724
diff --git a/lib/visit.js b/lib/visit.js index <HASH>..<HASH> 100644 --- a/lib/visit.js +++ b/lib/visit.js @@ -26,12 +26,16 @@ var runtimeValuesMethod = runtimeProperty("values"); var runtimeAsyncMethod = runtimeProperty("async"); exports.transform = function transform(node, options) { + var visitor = types.PathVi...
Report back if any changes was made to AST. Fixes #<I> This is done by using the proposed ast-types API from: benjamn/ast-types#<I>
facebook_regenerator
train
f641b0a5dd9d923b8485feb4bc14165b60ed0efb
diff --git a/lib/argument-modification.js b/lib/argument-modification.js index <HASH>..<HASH> 100644 --- a/lib/argument-modification.js +++ b/lib/argument-modification.js @@ -111,10 +111,13 @@ class ArgumentModification { createRecorderClass (controller) { const globalScope = this.options.globalScope; cons...
refactor: making node creation logic abstract bahevior preserving refactoring before big feature addition
power-assert-js_espower
train
3ee26d69c228aefc7ee7468d0577d7deffc6f06d
diff --git a/buildfox.py b/buildfox.py index <HASH>..<HASH> 100755 --- a/buildfox.py +++ b/buildfox.py @@ -295,7 +295,7 @@ if args.get("selftest"): engine.save(ninja_filename) result = not subprocess.call(["ninja", "-f", ninja_filename]) if result: - result = not subprocess.call([app_filename]) + result = not s...
Fix call to selftest app on unix
beardsvibe_buildfox
train
2abca536d0453bee510d762e799564d4aad9012b
diff --git a/packages/openneuro-server/app.js b/packages/openneuro-server/app.js index <HASH>..<HASH> 100644 --- a/packages/openneuro-server/app.js +++ b/packages/openneuro-server/app.js @@ -72,7 +72,7 @@ export default test => { // Apollo server setup const apolloServer = new ApolloServer({ schema, - con...
Fix setup on correct graphql path (/crn/graphql)
OpenNeuroOrg_openneuro
train
522c1c676781a0d5e91c9c8bcd07746795187afc
diff --git a/src/com/google/javascript/jscomp/CompilerInput.java b/src/com/google/javascript/jscomp/CompilerInput.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/CompilerInput.java +++ b/src/com/google/javascript/jscomp/CompilerInput.java @@ -35,7 +35,6 @@ import com.google.javascript.rhino.Inpu...
Specify that the results of DependencyInfo class are immutable types. Since all of the implementations are lists, make them all ImmutableList for consistency. ------------- Created by MOE: <URL>
google_closure-compiler
train
7c745800badd9774c9210967a36b4313c3f6896c
diff --git a/src/main/java/com/extjs/selenium/grid/GridPanel.java b/src/main/java/com/extjs/selenium/grid/GridPanel.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/extjs/selenium/grid/GridPanel.java +++ b/src/main/java/com/extjs/selenium/grid/GridPanel.java @@ -158,7 +158,7 @@ public class GridPanel extends Pa...
improvement scrollPageDown(String id) and scrollTop(String id) on LiveGridPanel
sdl_Testy
train
c94749356bc35b10136d80762a21d9108cd334bc
diff --git a/src/mesh/Mesh.js b/src/mesh/Mesh.js index <HASH>..<HASH> 100644 --- a/src/mesh/Mesh.js +++ b/src/mesh/Mesh.js @@ -227,9 +227,9 @@ Mesh.prototype._renderCanvasTriangles = function (context) */ Mesh.prototype._renderCanvasDrawTriangle = function (context, vertices, uvs, index0, index1, index2) { - var...
optimize texture property access to bypass the getter
pixijs_pixi.js
train
5fcb6aa1e92d55a82ae44a9602644e2784e9c83f
diff --git a/pronouncing/__init__.py b/pronouncing/__init__.py index <HASH>..<HASH> 100755 --- a/pronouncing/__init__.py +++ b/pronouncing/__init__.py @@ -19,12 +19,13 @@ def parse_cmu(cmufh): :returns: a list of 2-tuples pairing a word with its phones (as a string) """ pronunciations = list() + regex...
Precompile regexps before using them in a loop.
aparrish_pronouncingpy
train
82b6100e0267ca28401e4abb69ca6166bdd7055b
diff --git a/src/TestSuite/IntegrationTestCase.php b/src/TestSuite/IntegrationTestCase.php index <HASH>..<HASH> 100644 --- a/src/TestSuite/IntegrationTestCase.php +++ b/src/TestSuite/IntegrationTestCase.php @@ -51,6 +51,13 @@ abstract class IntegrationTestCase extends TestCase protected $_response; /** + ...
Bubble up exception if it is clearly to be not swallowed away.
cakephp_cakephp
train
4b00505ff298efe3f29d9b5572a88350db9a6896
diff --git a/go/dhcp/config.go b/go/dhcp/config.go index <HASH>..<HASH> 100644 --- a/go/dhcp/config.go +++ b/go/dhcp/config.go @@ -275,7 +275,8 @@ func (d *Interfaces) readConfig() { var options = make(map[dhcp.OptionCode][]byte) options[dhcp.OptionSubnetMask] = []byte(net.ParseIP(ConfNet.Netmask).To4()...
Return the gw ip instead of the main interface ip (ip per role)
inverse-inc_packetfence
train
42f9a0aeaf67d529637d9740cf9b6d5548771c5d
diff --git a/django_webtest/__init__.py b/django_webtest/__init__.py index <HASH>..<HASH> 100644 --- a/django_webtest/__init__.py +++ b/django_webtest/__init__.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- from django.conf import settings -from django.contrib.auth.models import User from django.test.signals import temp...
one more fix for django <I> custom user models
django-webtest_django-webtest
train
4d5bcffdc471a8e887ac84c6f84be26ae7d070c6
diff --git a/presto-main/src/test/java/com/facebook/presto/sql/planner/optimizations/TestAddExchangesPlans.java b/presto-main/src/test/java/com/facebook/presto/sql/planner/optimizations/TestAddExchangesPlans.java index <HASH>..<HASH> 100644 --- a/presto-main/src/test/java/com/facebook/presto/sql/planner/optimizations/T...
Use static imports in TestAddExchangePlans
prestodb_presto
train
7b52245ed955abf99d98814d85ed3eb258141e3c
diff --git a/expression/builtin_string.go b/expression/builtin_string.go index <HASH>..<HASH> 100644 --- a/expression/builtin_string.go +++ b/expression/builtin_string.go @@ -1555,7 +1555,41 @@ type builtinQuoteSig struct { // See https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_quote func (b ...
builtin: add quote built-in function (#<I>)
pingcap_tidb
train
4f4c1c2ea671365c5fd3b7ae8ae156e4a7218b05
diff --git a/holoviews/plotting/bokeh/selection.py b/holoviews/plotting/bokeh/selection.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/selection.py +++ b/holoviews/plotting/bokeh/selection.py @@ -14,7 +14,7 @@ class TabularSelectionDisplay(SelectionDisplay): opts['selected'] = list(np.where(...
Fix issues with linked selections on tables (#<I>)
pyviz_holoviews
train
c27c704ffa226f5cf22e57fa58281490c4b03328
diff --git a/resources/lang/pl-PL/dashboard.php b/resources/lang/pl-PL/dashboard.php index <HASH>..<HASH> 100644 --- a/resources/lang/pl-PL/dashboard.php +++ b/resources/lang/pl-PL/dashboard.php @@ -16,22 +16,22 @@ return [ // Incidents 'incidents' => [ - 'title' => 'Ereignisse &am...
New translations dashboard.php (Polish)
CachetHQ_Cachet
train
90d1775d406b4b193a9431629199d5f4e73d4824
diff --git a/lib/validate.js b/lib/validate.js index <HASH>..<HASH> 100644 --- a/lib/validate.js +++ b/lib/validate.js @@ -292,7 +292,7 @@ Vp.functionType = function functionType(funDecl) { paramTypes[i] = this.extractType(stmt.expression.right, params[i].name); } var returns = find(body, function(no...
validate identifier names in all binding forms
asm-js_validator
train
1dbcd7cab146d1213c19acd6ba61b7d7d764c31e
diff --git a/newsletter-bundle/src/Resources/contao/languages/de/modules.php b/newsletter-bundle/src/Resources/contao/languages/de/modules.php index <HASH>..<HASH> 100644 --- a/newsletter-bundle/src/Resources/contao/languages/de/modules.php +++ b/newsletter-bundle/src/Resources/contao/languages/de/modules.php @@ -35,6 ...
[Newsletter] Added better page titles in the back end (see #<I>)
contao_contao
train
71a823b70ba029772285792ed75f273366b5dffb
diff --git a/api/operator_autopilot_test.go b/api/operator_autopilot_test.go index <HASH>..<HASH> 100644 --- a/api/operator_autopilot_test.go +++ b/api/operator_autopilot_test.go @@ -76,7 +76,6 @@ func TestAPI_OperatorAutopilotCASConfiguration(t *testing.T) { func TestAPI_OperatorAutopilotServerHealth(t *testing.T) { ...
Remove fake advertise address and fix TestAPI_OperatorAutopilotServerHealth
hashicorp_nomad
train
b3851165894968caad5a74ff17846f6ce7f0e091
diff --git a/lib/callbacks/runtime.js b/lib/callbacks/runtime.js index <HASH>..<HASH> 100644 --- a/lib/callbacks/runtime.js +++ b/lib/callbacks/runtime.js @@ -86,6 +86,7 @@ returnArray = false; // so that we don't do it twice if we trampoline var oldFrame = __g.frame; __g.frame = frame; + var oldContext =...
fixed #<I> - potential leak of TLS context
Sage_streamlinejs
train
3469cbcb1a0f2904208820d201337ba25b26a16b
diff --git a/lib/locabulary.rb b/lib/locabulary.rb index <HASH>..<HASH> 100644 --- a/lib/locabulary.rb +++ b/lib/locabulary.rb @@ -15,10 +15,10 @@ module Locabulary # Responsible for building a hierarchical tree from faceted items, and ordering the nodes as per the presentation sequence for the # associated predi...
Updating documentation to adhere to Yard format [skip ci]
ndlib_locabulary
train
8e6e06ce303433f12b23b76a4deb3eaedfc1a9ac
diff --git a/requirements.txt b/requirements.txt index <HASH>..<HASH> 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -neocore==0.5.4 +neocore==0.5.6 python-socketio[client]==4.4.0 -requests>=2.20.0 -web3==4.8.2 +requests==2.22.0 +web3==5.4.0 diff --git a/setup.py b/setup.py index <HASH>..<HASH> 1...
Streaming Client Logic Update Updating the streaming client logic for the order book to ensure SHA1 hashes match. Also updating the requirements file to the latest versions of the dependencies.
KeithSSmith_switcheo-python
train
41ad780073b3a0a815e0083ecf1a0cea38cb8105
diff --git a/starlette/responses.py b/starlette/responses.py index <HASH>..<HASH> 100644 --- a/starlette/responses.py +++ b/starlette/responses.py @@ -173,9 +173,15 @@ class UJSONResponse(JSONResponse): class RedirectResponse(Response): def __init__( - self, url: typing.Union[str, URL], status_code: int ...
RedirectResponse now accepts optional background parameter (#<I>) * RedirectResponse now accepts optional background parameter With this change, a `background` task can now be sent during a RedirectResponse. This can be useful when an application wishes to run a background task after a form submission, which u...
encode_starlette
train
41c6dd505fba0191fbebf618558d25d6c4960eb3
diff --git a/tests/Build.php b/tests/Build.php index <HASH>..<HASH> 100644 --- a/tests/Build.php +++ b/tests/Build.php @@ -76,6 +76,6 @@ class Build extends \PHPUnit_Framework_TestCase ] )->setSourceDir($this->wsSourceDir) ->setDestinationDir($this->wsDestinationDir) - ->build(); +...
Tests: verbose build.
Cecilapp_PHPoole
train
efa7c2efe2792db09c52573c5bbd46b430a3be04
diff --git a/opentok/opentok.py b/opentok/opentok.py index <HASH>..<HASH> 100644 --- a/opentok/opentok.py +++ b/opentok/opentok.py @@ -1007,8 +1007,9 @@ class Client(object): encrypted (true) or not (false, the default) Boolean 'observeForceMute': A Boolean flag that determines whether the S...
Change wording in docstring for force mute
opentok_Opentok-Python-SDK
train
2862f4286e3ac06e3a8737fd96991dd70d4ee8a5
diff --git a/code/javascript/iedoc.js b/code/javascript/iedoc.js index <HASH>..<HASH> 100644 --- a/code/javascript/iedoc.js +++ b/code/javascript/iedoc.js @@ -42,6 +42,8 @@ function handleTags(name, args, comment) { } var tagStart = comment.search(/@(param|return)/); if (tagStart == -1) { + comment = comment....
Stripping whitespace around comment, to make XML file more consistent r<I>
SeleniumHQ_selenium
train
7a261dee342646d1e0d7baa6b86d7738c9d41a5b
diff --git a/pyspider/scheduler/scheduler.py b/pyspider/scheduler/scheduler.py index <HASH>..<HASH> 100644 --- a/pyspider/scheduler/scheduler.py +++ b/pyspider/scheduler/scheduler.py @@ -70,14 +70,6 @@ class Scheduler(object): self._cnt['all'].load(os.path.join(self.data_path, 'scheduler.all')) self._...
move run logic in scheduler to run_once, remove _load_projects projects can been loaded via _update_projects when _load_update_project == 0
binux_pyspider
train
cba9eadd0151063a441a49c8f4bbd7130ebf6277
diff --git a/lib/utils/xpack.js b/lib/utils/xpack.js index <HASH>..<HASH> 100644 --- a/lib/utils/xpack.js +++ b/lib/utils/xpack.js @@ -664,13 +664,13 @@ class Xpack { if (!packageJson) { // Not in a package. - return + return undefined } if (!packageJson.xpack || !packageJson....
xpack.js: checkMinimumXpmRequired returns version
xpack_xpm-js
train
23f12a93e9cf6824f139e6a2c7c4da56cbc64360
diff --git a/tests/Database/AuthorizeArgsTests/TestAuthorizationArgsQuery.php b/tests/Database/AuthorizeArgsTests/TestAuthorizationArgsQuery.php index <HASH>..<HASH> 100644 --- a/tests/Database/AuthorizeArgsTests/TestAuthorizationArgsQuery.php +++ b/tests/Database/AuthorizeArgsTests/TestAuthorizationArgsQuery.php @@ -5...
phpstan: fix "Method Rebing\GraphQL\Tests\Database\AuthorizeArgsTests\TestAuthorizationArgsQuery::authorize() should return bool but return statement is missing."
rebing_graphql-laravel
train
d0fbbc774e0e8d599e63ab41eba2ff1f8cd2023d
diff --git a/lib/rake-pipeline-web-filters/coffee_script_filter.rb b/lib/rake-pipeline-web-filters/coffee_script_filter.rb index <HASH>..<HASH> 100644 --- a/lib/rake-pipeline-web-filters/coffee_script_filter.rb +++ b/lib/rake-pipeline-web-filters/coffee_script_filter.rb @@ -26,7 +26,11 @@ module Rake::Pipeline::Web::Fi...
Include the file name in Coffeescript compilation errors. (Luke Melia / Kris Selden)
wycats_rake-pipeline-web-filters
train
2cbb1c036e81b3d59761c1cd9bb5de01db37caa8
diff --git a/sniffer/broadcasters.py b/sniffer/broadcasters.py index <HASH>..<HASH> 100644 --- a/sniffer/broadcasters.py +++ b/sniffer/broadcasters.py @@ -82,15 +82,29 @@ except ImportError: class Broadcaster(object): def __init__(self, *emitters): - self.emitters = emitters + self.emitters = list...
Recover from emitter errors PyNotify raises an error when showing a message if no service is available. Instead of dying when an emitter raises, that emitter is removed. If the last emitter is removed an exception is raised (because there would be no way to monitor test results).
jeffh_sniffer
train
21bc8352509ae9599f9462882017d290c7c124e2
diff --git a/htdocs/widget.php b/htdocs/widget.php index <HASH>..<HASH> 100644 --- a/htdocs/widget.php +++ b/htdocs/widget.php @@ -1,7 +1,24 @@ <?php $env = $_GET['environment']; $svc = $_GET['service']; - $tag = $env."-".$svc; + + if (isset($_GET['environment'])) { + $env = $_GET['environment']; + $...
Add widget support for Groups and user-defined labels
alerta_alerta
train
8236c05d0d2336c208d9564b4f5c2038fd1a4f35
diff --git a/lib/flowdock.rb b/lib/flowdock.rb index <HASH>..<HASH> 100644 --- a/lib/flowdock.rb +++ b/lib/flowdock.rb @@ -13,7 +13,7 @@ module Flowdock def initialize(options = {}) @api_token = options[:api_token] raise InvalidParameterError, "Flow must have :api_token attribute" if blank?(@api_toke...
More sensible handling of error responses from API
flowdock_flowdock-api
train
f3d77a8cfb68bb2b00d47cf7a6130aa9e0b2d6f2
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -450,6 +450,9 @@ function parse (args, opts) { function hasKey (obj, keys) { var o = obj + + if (!configuration['dot-notation']) keys = [keys.join('.')] + keys.slice(0, -1).forEach(function (key) { o =...
Join 'keys' in hasKey() when 'dot-notation' is turned off
yargs_yargs-parser
train
b62e21f3017e25d3c55d089b464ba232d9a1c8c6
diff --git a/pylon/io/matpower.py b/pylon/io/matpower.py index <HASH>..<HASH> 100644 --- a/pylon/io/matpower.py +++ b/pylon/io/matpower.py @@ -204,7 +204,7 @@ class MATPOWERReader(_CaseReader): for i, line in enumerate(file): if line.startswith("]"): - logger.warning("Missing cost...
Fixing parsing of gencosts with trailing comments.
rwl_pylon
train
050112805ffa875087fa7f58d00f92880f2a12ba
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -8,14 +8,15 @@ module.exports = function (db, sep) { //use \xff (255) as the seperator, //so that sections of the database will sort after the regular keys sep = sep || '\xff' + Hooks(db) db.sublevel = funct...
allow user to pass prefix option to batch
dominictarr_level-sublevel
train
228cb300cbde0df7bdf538e1388e2cc2eebaadd1
diff --git a/src/main/java/org/dasein/cloud/aws/compute/EC2Instance.java b/src/main/java/org/dasein/cloud/aws/compute/EC2Instance.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dasein/cloud/aws/compute/EC2Instance.java +++ b/src/main/java/org/dasein/cloud/aws/compute/EC2Instance.java @@ -55,18 +55,7 @@ import...
Added support for retrieving VM list with filter options by tags.
dasein-cloud_dasein-cloud-aws
train
b2d2ca69063507b82b8cff13b5bd62593c16f9c9
diff --git a/opal/browser/dom/node.rb b/opal/browser/dom/node.rb index <HASH>..<HASH> 100644 --- a/opal/browser/dom/node.rb +++ b/opal/browser/dom/node.rb @@ -59,7 +59,7 @@ class Node if native?(node) `#@native.appendChild(node)` elsif node.respond_to? :each - node.each { |n| add_child(n) } + ...
dom/node: use #<< internally instead of #add_child
opal_opal-browser
train
619e89aa2293b2063ddc04deec58471901ce11ac
diff --git a/android/CouchbaseLite/src/androidTest/java/com/couchbase/lite/LogTest.java b/android/CouchbaseLite/src/androidTest/java/com/couchbase/lite/LogTest.java index <HASH>..<HASH> 100644 --- a/android/CouchbaseLite/src/androidTest/java/com/couchbase/lite/LogTest.java +++ b/android/CouchbaseLite/src/androidTest/ja...
test: check custom logging (#<I>) * check custom logging enabled and disabled
couchbase_couchbase-lite-android
train
18848eae78e96c2b93d4e3dcb4c4e7d7ef619b99
diff --git a/src/Service/Captcha.php b/src/Service/Captcha.php index <HASH>..<HASH> 100644 --- a/src/Service/Captcha.php +++ b/src/Service/Captcha.php @@ -16,14 +16,14 @@ class Captcha extends BaseService use RetTrait; /** - * @var int the width of the generated CAPTCHA image. Defaults to 120 + * @v...
refactoring: 解决验证码超出1px
miaoxing_app
train
47a5b3ba12e2b943b7cb3c77bfd9cf9b5df0c218
diff --git a/lib/pry-theme/commands.rb b/lib/pry-theme/commands.rb index <HASH>..<HASH> 100644 --- a/lib/pry-theme/commands.rb +++ b/lib/pry-theme/commands.rb @@ -34,6 +34,7 @@ module PryTheme opt.on :a, "all-colors", "Show all available 8/256 colors." opt.on :c, "color", "Show information abou...
Add pry-theme -e — Edit theme then display results.
kyrylo_pry-theme
train
3e860a67c4e626ae72f0132be81ca31066ea8678
diff --git a/chempy/util/_expr.py b/chempy/util/_expr.py index <HASH>..<HASH> 100644 --- a/chempy/util/_expr.py +++ b/chempy/util/_expr.py @@ -15,7 +15,7 @@ import math from itertools import chain from operator import add, mul, truediv, sub, pow from .pyutil import defaultkeydict, deprecated -from .arithmeticdict im...
Further fixes to bkh.py
bjodah_chempy
train
c05ece66e31e171af2bb3cb691ec9b72216496f8
diff --git a/lib/mail/message.rb b/lib/mail/message.rb index <HASH>..<HASH> 100644 --- a/lib/mail/message.rb +++ b/lib/mail/message.rb @@ -1975,8 +1975,9 @@ module Mail end def raw_source=(value) - value.force_encoding("binary") if RUBY_VERSION >= "1.9.1" @raw_source = value.to_crlf + @raw_...
don't change encoding of string input to Mail.new
mikel_mail
train
5fdac428bc2d27914400a634624a82ffbe7ac3b2
diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -2691,8 +2691,10 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, Json...
Added `collection` to the isJsonCastable()
laravel_framework
train
ad0677d6a91efec5711c80b27e618904a3a19fc9
diff --git a/benchmark/worker/benchmark_client.go b/benchmark/worker/benchmark_client.go index <HASH>..<HASH> 100644 --- a/benchmark/worker/benchmark_client.go +++ b/benchmark/worker/benchmark_client.go @@ -224,30 +224,32 @@ func doCloseLoopStreamingBenchmark(h *stats.Histogram, conns []*grpc.ClientConn, } else { ...
Close loop: Create multiple streams on one connection
grpc_grpc-go
train
9b659376e38f7b07f18ba383f1ba7900227ef599
diff --git a/sql_metadata.py b/sql_metadata.py index <HASH>..<HASH> 100644 --- a/sql_metadata.py +++ b/sql_metadata.py @@ -97,6 +97,8 @@ def get_query_columns(query: str) -> List[str]: "LIKE", "CASE", "WHEN", + "DISTINCT", + "UNIQUE", ] # these keywords are followed ...
Add DISTINCT and UNIQUE to keywords_ignored (fixes #<I>)
macbre_sql-metadata
train
e96ca92c9d25f319991f38327a905b8cac3fa3e1
diff --git a/core/src/main/java/com/dtolabs/rundeck/core/resources/BaseFileResourceModelSource.java b/core/src/main/java/com/dtolabs/rundeck/core/resources/BaseFileResourceModelSource.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/dtolabs/rundeck/core/resources/BaseFileResourceModelSource.java +++ b/core...
add length argument to writeFileData method
rundeck_rundeck
train
adae66f47cf11bb7a686c98059436f496d881955
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -30,16 +30,13 @@ exports.parse = function parse (s, env) { .replace(/\\([ "'\\$`(){}!#&*|])/g, '$1') ; } - else return s - .replace(/(['"])((\\\1|[^\1])*?)\1|[^'"]+/g, f...
cleaner implementation recursing on the double quote case
substack_node-shell-quote
train
8c708b4f3d104e0de00f9f13ff88a10a5bb68c24
diff --git a/harpoon/overview.py b/harpoon/overview.py index <HASH>..<HASH> 100644 --- a/harpoon/overview.py +++ b/harpoon/overview.py @@ -176,7 +176,10 @@ class Harpoon(object): configuration.converters.done(path, meta.result) for key, v in val.items(ignore_converters=True): + ...
Make sure converter doesn't trip over itself
delfick_harpoon
train
bf7593a95c5e6af337559102026655b506e1fc57
diff --git a/src/main/java/cz/jiripinkas/jsitemapgenerator/WebSitemapGenerator.java b/src/main/java/cz/jiripinkas/jsitemapgenerator/WebSitemapGenerator.java index <HASH>..<HASH> 100644 --- a/src/main/java/cz/jiripinkas/jsitemapgenerator/WebSitemapGenerator.java +++ b/src/main/java/cz/jiripinkas/jsitemapgenerator/WebSit...
removed System.out.println
jirkapinkas_jsitemapgenerator
train
72b27c7d68951a2e3f8dbed84eb78899ed19e3a1
diff --git a/simpledist/distributions.py b/simpledist/distributions.py index <HASH>..<HASH> 100644 --- a/simpledist/distributions.py +++ b/simpledist/distributions.py @@ -382,8 +382,9 @@ class Distribution_FromH5(Distribution): """ def __init__(self,filename,path='',**kwargs): fns = pd.read_hdf(filen...
fixed bug that left HDFStore open
timothydmorton_simpledist
train
20eef84b80a91e5171575622be4487866898177a
diff --git a/gridsome/lib/app/loadConfig.js b/gridsome/lib/app/loadConfig.js index <HASH>..<HASH> 100644 --- a/gridsome/lib/app/loadConfig.js +++ b/gridsome/lib/app/loadConfig.js @@ -552,6 +552,7 @@ function normalizeImages (config = {}) { defaultQuality: Joi.number().default(75).min(0).max(100), backgrou...
chore: remove unused images when keeping dist
gridsome_gridsome
train
cb07b96a6285b7dbeb7abc6d8faf2f2c18738e6d
diff --git a/client/deis.py b/client/deis.py index <HASH>..<HASH> 100755 --- a/client/deis.py +++ b/client/deis.py @@ -415,7 +415,7 @@ class DeisClient(object): Options: --cluster=<cluster> - target cluster to host application (default: dev). + target cluster to host applicat...
fix(client): restore `--cluster=dev` as apps:create default In refactoring the Deis CLI docstrings, we broke the default cluster for apps:create. This was pointed out by smoke_test.go.
deis_deis
train
a11f6aaa914df773366eb37a9164e473e733d915
diff --git a/src/Collection/Helpers/ArrayCollectionHelper.php b/src/Collection/Helpers/ArrayCollectionHelper.php index <HASH>..<HASH> 100644 --- a/src/Collection/Helpers/ArrayCollectionHelper.php +++ b/src/Collection/Helpers/ArrayCollectionHelper.php @@ -129,7 +129,10 @@ class ArrayCollectionHelper { if ($value in...
entity: added back support for Nextras\Dbal\DateTimeImmutable type
nextras_orm
train
53b7d5b8a1a42cf19b76a7a901461bd1c2478368
diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go index <HASH>..<HASH> 100644 --- a/hugolib/shortcode.go +++ b/hugolib/shortcode.go @@ -93,7 +93,7 @@ func ShortcodesHandle(stringToParse string, p *Page, t Template) string { var data = &ShortcodeWithPage{Params: params, Page: p} if endStart > 0 { s :...
Inner Shortcodes now treated as markdown. fixed #<I>
gohugoio_hugo
train
4080ee7004449df08a7acb031ab3cf777d68fe95
diff --git a/tt/distutils.py b/tt/distutils.py index <HASH>..<HASH> 100644 --- a/tt/distutils.py +++ b/tt/distutils.py @@ -5,6 +5,6 @@ def get_extra_fflags(): fflags = [] fcompiler = customized_fcompiler() if fcompiler.compiler_type in ('g95', 'gnu', 'gnu95'): - if fcompiler.get_version() >= '11.0...
change version to '<I>' from '<I>' Here is an illustration of the issue: ``` >>> from numpy.distutils import customized_fcompiler >>> v=fcompiler.get_version(); v LooseVersion ('<I>') >>> v>="<I>" False >>> v>="<I>" True ```
oseledets_ttpy
train
825f169342c2ecd390ace2b40cb951bb437a4c77
diff --git a/claripy/vsa/strided_interval.py b/claripy/vsa/strided_interval.py index <HASH>..<HASH> 100644 --- a/claripy/vsa/strided_interval.py +++ b/claripy/vsa/strided_interval.py @@ -1864,6 +1864,11 @@ class StridedInterval(BackendObject): return new_si.bitwise_or(new_b) def extract(self, high_b...
VSA: Bug fix in StridedInterval.extract() when strided interval is reversed. Also add two test cases for VSA.
angr_claripy
train
1898268093159eeece19538f09acbc89ef40bda0
diff --git a/grimoire_elk/utils.py b/grimoire_elk/utils.py index <HASH>..<HASH> 100755 --- a/grimoire_elk/utils.py +++ b/grimoire_elk/utils.py @@ -52,7 +52,7 @@ from perceval.backends.core.meetup import Meetup, MeetupCommand from perceval.backends.core.nntp import NNTP, NNTPCommand from perceval.backends.core.phabric...
[utils] Remove puppetforge support until there is a pip package and it is supported in grimoirelab_build script
chaoss_grimoirelab-elk
train
c2bcc418e037d6bc2d6b47c2d782900126b4f884
diff --git a/db/rdb.go b/db/rdb.go index <HASH>..<HASH> 100644 --- a/db/rdb.go +++ b/db/rdb.go @@ -64,9 +64,6 @@ func (r *RDBDriver) OpenDB(dbType, dbPath string, debugSQL bool) (err error) { return } r.conn.LogMode(debugSQL) - if r.name == dialectSqlite3 { - r.conn.Exec("PRAGMA journal_mode=WAL;") - } return...
fix(db): no wal mode with SQLite3 backend to avoid `database is locked` (#<I>)
kotakanbe_go-cve-dictionary
train
00b855ab867bd9d6c740777532e141cabb6f81ba
diff --git a/labm8/py/fs_test.py b/labm8/py/fs_test.py index <HASH>..<HASH> 100644 --- a/labm8/py/fs_test.py +++ b/labm8/py/fs_test.py @@ -17,8 +17,6 @@ import pathlib import stat import tempfile -import pytest - from labm8.py import app from labm8.py import fs from labm8.py import system
Remove unused import. Signed-off-by: format <I> <github.com/ChrisCummins/format>
ChrisCummins_labm8
train
2ffd4704c6f37d7fb10110450fe035fa6df08db8
diff --git a/issue_milestone.go b/issue_milestone.go index <HASH>..<HASH> 100644 --- a/issue_milestone.go +++ b/issue_milestone.go @@ -48,7 +48,7 @@ func (c *Client) CreateMilestone(owner, repo string, opt CreateMilestoneOption) } type EditMilestoneOption struct { - Title *string `json:"title"` + Title ...
Change EditMilestoneOption.Title to non-pointer
gogs_go-gogs-client
train
4ef63c97c450a9c8ffd744cd47f51159dbbf229b
diff --git a/lib/cinch/irc.rb b/lib/cinch/irc.rb index <HASH>..<HASH> 100644 --- a/lib/cinch/irc.rb +++ b/lib/cinch/irc.rb @@ -368,7 +368,7 @@ module Cinch else # away m.user.sync(:away, msg.message, true) - events << [:away, m.user, msg.message] + events << [:away, m.user] ...
do not pass msg.message to :away handlers They can just use msg.message themself
cinchrb_cinch
train
6a5b4a33858e2b8b308968379eb27da9e816f0af
diff --git a/app/controllers/admin/sidebar_controller.rb b/app/controllers/admin/sidebar_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/admin/sidebar_controller.rb +++ b/app/controllers/admin/sidebar_controller.rb @@ -5,6 +5,7 @@ class Admin::SidebarController < Admin::BaseController # Reset the s...
fix adminsidebar issue. Order is keep
publify_publify
train
a1964b49f18919f5aaed17d3c2f6b48a35634b5c
diff --git a/parser/context.go b/parser/context.go index <HASH>..<HASH> 100644 --- a/parser/context.go +++ b/parser/context.go @@ -263,7 +263,7 @@ func specialChildren(node ast.Node) []ast.Node { case *ast.ArrayComp: return []ast.Node{node.Body} case *ast.ObjectComp: - + return inObjectFieldsChildren(node.Field...
support for traversing AST tree with parens and objectcomps
google_go-jsonnet
train
68a27239b487a520f4031cb44801dac3acb61453
diff --git a/tests/pycut_boundary_penalties_test.py b/tests/pycut_boundary_penalties_test.py index <HASH>..<HASH> 100644 --- a/tests/pycut_boundary_penalties_test.py +++ b/tests/pycut_boundary_penalties_test.py @@ -20,15 +20,8 @@ from PyQt4.QtGui import QApplication import numpy as np -try: - from imcut import ...
removed unused import for seededitorqt
mjirik_imcut
train
8c0ecf4982c5aa08da31bd6583087951140b4627
diff --git a/.rubocop.yml b/.rubocop.yml index <HASH>..<HASH> 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -21,49 +21,10 @@ Layout/FirstArgumentIndentation: EnforcedStyle: consistent Layout/MultilineArrayBraceLayout: EnforcedStyle: new_line -Layout/FirstArrayElementLineBreak: - Enabled: true -Layout/FirstHas...
Enable all new RuboCop cops Fix some offenses.
AlexWayfer_flame
train
18b41711bf4e464e0c8697b9cb0d6e742896da81
diff --git a/system/modules/generalDriver/DcGeneral/Contao/View/Contao2BackendView/BaseView.php b/system/modules/generalDriver/DcGeneral/Contao/View/Contao2BackendView/BaseView.php index <HASH>..<HASH> 100644 --- a/system/modules/generalDriver/DcGeneral/Contao/View/Contao2BackendView/BaseView.php +++ b/system/modules/g...
Made BaseView widgetManager dynamically instantiated (as it is only needed for editing).
contao-community-alliance_dc-general
train
9b24fc392a62cc939c928146d77a2ccfb4269803
diff --git a/tests/spec/RulerZ/Executor/DoctrineQueryBuilder/AutoJoinSpec.php b/tests/spec/RulerZ/Executor/DoctrineQueryBuilder/AutoJoinSpec.php index <HASH>..<HASH> 100644 --- a/tests/spec/RulerZ/Executor/DoctrineQueryBuilder/AutoJoinSpec.php +++ b/tests/spec/RulerZ/Executor/DoctrineQueryBuilder/AutoJoinSpec.php @@ -9...
Rolled back auto join specification rename.
K-Phoen_rulerz
train
19ad35c6443be7d666f394bb6d0b0d51edf1a878
diff --git a/src/Common/Collection.php b/src/Common/Collection.php index <HASH>..<HASH> 100644 --- a/src/Common/Collection.php +++ b/src/Common/Collection.php @@ -49,12 +49,15 @@ final class Collection extends AbstractAggregate implements CollectionInterface /** * {@inheritDoc} */ - public function ...
Added the reverse param to the sortBy method
guillermoandrae_php-collection
train
3a15efdac2024a1893a4a0ef542140df052dca8b
diff --git a/html/pfappserver/root/static/admin/common.js b/html/pfappserver/root/static/admin/common.js index <HASH>..<HASH> 100644 --- a/html/pfappserver/root/static/admin/common.js +++ b/html/pfappserver/root/static/admin/common.js @@ -801,9 +801,14 @@ function FingerbankSearch() { } +FingerbankSearch.prototype...
prevent double binding of fingerbank type ahead + custom actions
inverse-inc_packetfence
train
7c7407fa99a40fafa1575affc16f346c904fff45
diff --git a/lib/sql_query_executor/query/normalizers/base_normalizer.rb b/lib/sql_query_executor/query/normalizers/base_normalizer.rb index <HASH>..<HASH> 100644 --- a/lib/sql_query_executor/query/normalizers/base_normalizer.rb +++ b/lib/sql_query_executor/query/normalizers/base_normalizer.rb @@ -22,6 +22,8 @@ module ...
When passing empty queries to attributes_from_query it returns an empty Hash
efreesen_sql_query_executor
train
26776196e8a9bb607f83933d1ce2decea9aeba53
diff --git a/lib/chef/providers/right_script_provider.rb b/lib/chef/providers/right_script_provider.rb index <HASH>..<HASH> 100644 --- a/lib/chef/providers/right_script_provider.rb +++ b/lib/chef/providers/right_script_provider.rb @@ -100,17 +100,24 @@ class Chef ENV['RS_CLOUD_PROVIDER'] = node[:cloud][:prov...
acu<I> Prefer private_ips and public_ips array, as these are filtered Should only make a difference on cloudstack, where the local_ipv4 address can either be a public or private ip
rightscale_right_link
train
a7f0dd42d419cc84e083adcd06e7ba69577fb139
diff --git a/lib/syllable_rules.rb b/lib/syllable_rules.rb index <HASH>..<HASH> 100644 --- a/lib/syllable_rules.rb +++ b/lib/syllable_rules.rb @@ -1,9 +1,9 @@ module Pronounce::SyllableRules def self.evaluate(context) - is_new_syllable = English.stressed_syllables_heavy context - return is_new_syllable unless...
Reduced duplication of running rules.
josephwilk_pronounce
train
98307c8faefca5c4347288af18aee4dacbf8802c
diff --git a/integration-cli/docker_cli_run_test.go b/integration-cli/docker_cli_run_test.go index <HASH>..<HASH> 100644 --- a/integration-cli/docker_cli_run_test.go +++ b/integration-cli/docker_cli_run_test.go @@ -1257,6 +1257,7 @@ func TestRunWithVolumesIsRecursive(t *testing.T) { if err := mount.Mount("tmpfs", tmp...
integ-cli: fix cleanup in test which mounts tmpfs Docker-DCO-<I>-
containers_storage
train
63dbd0f6b18a0175d2d8169648e63fcb30205957
diff --git a/docs/users_guide.md b/docs/users_guide.md index <HASH>..<HASH> 100644 --- a/docs/users_guide.md +++ b/docs/users_guide.md @@ -16,7 +16,7 @@ $ [VAR=VALUE] /path/to/python -c "$(curl -fsSL https://raw.githubusercontent.com | NAME | Description | Default | | ---- | ----------- | ------- | | RPM | Path to r...
Change a environment variable RPM_VERSION to RPM_PY_VERSION. (#<I>)
junaruga_rpm-py-installer
train
7316f86034261c9663f001a5464da4786df7fece
diff --git a/ryu/ofproto/ofproto_v1_5_parser.py b/ryu/ofproto/ofproto_v1_5_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_5_parser.py +++ b/ryu/ofproto/ofproto_v1_5_parser.py @@ -2814,7 +2814,6 @@ class OFPGroupDescStats(StringifyMixin): self.length = length self.type = type_ ...
ofproto_v1_5: Reduce an unnecessary code
osrg_ryu
train
bfb9ca115e819243e41ce56d4acea36f028079a3
diff --git a/pygbif/__init__.py b/pygbif/__init__.py index <HASH>..<HASH> 100644 --- a/pygbif/__init__.py +++ b/pygbif/__init__.py @@ -6,7 +6,7 @@ pygbif library ~~~~~~~~~~~~~~~~~~~~~ -pygbif is a Python client for GBIF. +pygbif is a Python client for the Global Biodiversity Information Facility (GBIF) API. Usag...
better explanation of gbif in top level docstring
sckott_pygbif
train
3b729d95b7a2ed2fc08d55159849f8552ddc170d
diff --git a/tests/transformation_test.py b/tests/transformation_test.py index <HASH>..<HASH> 100644 --- a/tests/transformation_test.py +++ b/tests/transformation_test.py @@ -252,6 +252,7 @@ def test_pdf_info(transform): result = transform.pdf_info(colorinfo=True) assert result.url == target_url + def test...
addressed feedback : reverted the removed space between tests
filestack_filestack-python
train
d0bb2a72ae9727c49c10cdb89fccc264d5ae6560
diff --git a/lib/vines/stream/http/ready.rb b/lib/vines/stream/http/ready.rb index <HASH>..<HASH> 100644 --- a/lib/vines/stream/http/ready.rb +++ b/lib/vines/stream/http/ready.rb @@ -11,7 +11,11 @@ module Vines raise StreamErrors::NotAuthorized end stream.parse_body(node).each do |chi...
Don't allow StanzaErrors to stop the BOSH stanza processing loop.
negativecode_vines
train
c07207f219268010ace0dc6c35b518e990b2865b
diff --git a/src/util/Util.js b/src/util/Util.js index <HASH>..<HASH> 100644 --- a/src/util/Util.js +++ b/src/util/Util.js @@ -483,11 +483,11 @@ class Util extends null { * @returns {Collection} */ static discordSort(collection) { + const isGuildChannel = collection.first() instanceof GuildChannel; r...
fix(Util): fix sorting for GuildChannels (#<I>)
discordjs_discord.js
train
3a258a592fd384d740e86d08e2c9e7540b093267
diff --git a/demos/html.html b/demos/html.html index <HASH>..<HASH> 100644 --- a/demos/html.html +++ b/demos/html.html @@ -4,13 +4,23 @@ <title>Syntax Highlighting</title> <link href="../themes/blackboard.css" rel="stylesheet" type="text/css" media="screen"> <body> - +<style type="text/css"> +</style> <pre> -<code ...
Add support for inline css in html
ccampbell_rainbow
train
4baf80726e011934e4f9e2b42e8e9b431f6b4891
diff --git a/src/Collection.js b/src/Collection.js index <HASH>..<HASH> 100644 --- a/src/Collection.js +++ b/src/Collection.js @@ -9,8 +9,6 @@ var Collection = new Class({ _models: [], - _bound: {}, - _Model: Model, length: 0, @@ -21,6 +19,7 @@ var Collection = new Class({ // onAdd: fun...
Removing custom bound because it comes with Connector. Add at arg to add method so that a model could be spliced in at certain locations of the _models array. Update to pass the collection instance to fired events.
GCheung55_Neuro
train
8bff00206a025e4966d66e418fdb467afcd5effe
diff --git a/src/pandas_profiling/config.py b/src/pandas_profiling/config.py index <HASH>..<HASH> 100644 --- a/src/pandas_profiling/config.py +++ b/src/pandas_profiling/config.py @@ -17,7 +17,7 @@ class Config(object): def __init__(self): """The config constructor should be called only once.""" i...
Workaround for issue <I>
pandas-profiling_pandas-profiling
train
d3260dfdcd2cb365788ea3bc41e91739a8acb81d
diff --git a/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php b/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php +++ b/src/Symfony/Component/EventDispatcher/Debug/Tr...
[EventDispatcher] Clear orphaned events on TraceableEventDispatcher::reset
symfony_symfony
train
88ba4219301151c35b6150c81bae53011ff2d4c4
diff --git a/functional/pipeline.py b/functional/pipeline.py index <HASH>..<HASH> 100644 --- a/functional/pipeline.py +++ b/functional/pipeline.py @@ -1,6 +1,7 @@ # pylint: disable=too-many-lines,too-many-public-methods,protected-access,redefined-builtin, # pylint: disable=no-member +from __future__ import division...
Added average function to match LINQ API
EntilZha_PyFunctional
train
eb6a146b6cec5aa570a46e9d1d2ab4a56478dc3e
diff --git a/src/Rah/Danpu/Base.php b/src/Rah/Danpu/Base.php index <HASH>..<HASH> 100644 --- a/src/Rah/Danpu/Base.php +++ b/src/Rah/Danpu/Base.php @@ -41,6 +41,14 @@ abstract class Base protected $config; /** + * An instance of PDO + * + * @var \PDO + */ + + protected $pdo; + + /** ...
Define Base::$pdo property as protected.
gocom_danpu
train
870e1f82f65f4917baeb9e5c3e32aadc8773c8e7
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py index <HASH>..<HASH> 100644 --- a/sos/plugins/kubernetes.py +++ b/sos/plugins/kubernetes.py @@ -97,6 +97,11 @@ class kubernetes(Plugin, RedHatPlugin): "{} get --raw /metrics".format(kube_cmd) ]) + # CNV is not part of the ...
[kubernetes] Collect vm/vmi information if CNV is in use If CNV is installed ontop of the base kubernetes installation, collect output for the 'vms' and 'vmis' resources as well as virtctl. Resolves: #<I>
sosreport_sos
train
b62e73a58afe41f7604260c7332e0a7ea1d3f8ec
diff --git a/inlineplz/interfaces/github.py b/inlineplz/interfaces/github.py index <HASH>..<HASH> 100644 --- a/inlineplz/interfaces/github.py +++ b/inlineplz/interfaces/github.py @@ -304,8 +304,12 @@ class GitHubInterface(InterfaceBase): if self.stopped_early: return + comments_to_delete ...
Preserve comments people have replied to (#<I>) fixes #<I>
guykisel_inline-plz
train
1ba76cc91e8d0f42663394254e1ccf6d16fe89c4
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,7 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) -require 'coveralls' require 'pp' +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start d...
Updated spec helper to use codeclimate
seanedwards_cfer
train
f07abda4e6f4ed35f326c3be48d6811bdf345b74
diff --git a/framework/core/js/forum/dist/app.js b/framework/core/js/forum/dist/app.js index <HASH>..<HASH> 100644 --- a/framework/core/js/forum/dist/app.js +++ b/framework/core/js/forum/dist/app.js @@ -21470,6 +21470,8 @@ System.register('flarum/components/DiscussionsSearchSource', ['flarum/helpers/hi value...
Make search dropdown filtering case-insensitive. closes flarum/core#<I>
flarum_core
train
20bed07788150e99f2d49f5a3f3e9bd0c2dff931
diff --git a/lib/amee/profile_item.rb b/lib/amee/profile_item.rb index <HASH>..<HASH> 100644 --- a/lib/amee/profile_item.rb +++ b/lib/amee/profile_item.rb @@ -99,6 +99,17 @@ module AMEE raise AMEE::BadData.new("Couldn't create ProfileItem. Check that your information is correct.") end + def updat...
Add ProfileItem#update and a function to search for values by name
OpenAMEE_amee-ruby
train
0612ea6aea5a10e5639a710500c321e3c9e02495
diff --git a/interfaces/python/setup.py b/interfaces/python/setup.py index <HASH>..<HASH> 100644 --- a/interfaces/python/setup.py +++ b/interfaces/python/setup.py @@ -5,6 +5,8 @@ setup.py file for compiling Infomap module """ from distutils.core import setup, Extension +from distutils.file_util import copy_file +im...
Fix python library problem due to ABI tagged .so files
mapequation_infomap
train
8d0447b17b57f49e73c7e1e3fa15964ce5c90df7
diff --git a/src/de/unihd/dbs/uima/annotator/heideltime/resources/NormalizationManager.java b/src/de/unihd/dbs/uima/annotator/heideltime/resources/NormalizationManager.java index <HASH>..<HASH> 100644 --- a/src/de/unihd/dbs/uima/annotator/heideltime/resources/NormalizationManager.java +++ b/src/de/unihd/dbs/uima/annota...
quick fix for performance degradation due to some overlooked code
HeidelTime_heideltime
train
b06dc8525a0f128fb642df865901c550d9fcfee5
diff --git a/resource_aws_autoscaling_group_test.go b/resource_aws_autoscaling_group_test.go index <HASH>..<HASH> 100644 --- a/resource_aws_autoscaling_group_test.go +++ b/resource_aws_autoscaling_group_test.go @@ -89,7 +89,6 @@ func TestAccAWSAutoScalingGroup_autoGeneratedName(t *testing.T) { }, }, }) - } ...
Cleanup unrelated config to speed up autogenerate name acc test. Removes overspecified config that is unrelated to testing the auto scaling group's autogenerated name. The test is only concerned with checking that the auto scaling group was created successfully with an autogenerated name matching a specific pattern.
terraform-providers_terraform-provider-aws
train
0ea285ab0b30f43358e1719cbf86411f02ebc065
diff --git a/lib/geokit/geocoders/yahoo.rb b/lib/geokit/geocoders/yahoo.rb index <HASH>..<HASH> 100644 --- a/lib/geokit/geocoders/yahoo.rb +++ b/lib/geokit/geocoders/yahoo.rb @@ -134,9 +134,9 @@ class OauthUtil # @ref http://oauth.net/core/1.0/#rfc.section.A.5.1 def query_string pairs = [] - @params.sort....
Avoid using {...} for multi-line blocks
geokit_geokit
train
c29838fb39430e2ac50beea6e263251920e6f4f6
diff --git a/common/types/endpoint.go b/common/types/endpoint.go index <HASH>..<HASH> 100644 --- a/common/types/endpoint.go +++ b/common/types/endpoint.go @@ -3,6 +3,7 @@ package types import ( "encoding/json" "net" + "sort" "strconv" "github.com/noironetworks/cilium-net/bpf/policymap" @@ -96,3 +97,40 @@ fun...
Implemented a slice endpoint sorter by ID
cilium_cilium
train
2315a386c868cc585ff5628a84c22a20e4504545
diff --git a/bootstrap-wysiwyg.js b/bootstrap-wysiwyg.js index <HASH>..<HASH> 100644 --- a/bootstrap-wysiwyg.js +++ b/bootstrap-wysiwyg.js @@ -153,7 +153,9 @@ }; options = $.extend({}, $.fn.wysiwyg.defaults, userOptions); bindHotkeys(options.hotKeys); - initFileDrops(); + if (options.dragAndDropImages) { + ...
Added an option for enabling/disabling dragging and droppping images.
steveathon_bootstrap-wysiwyg
train
d8ea6fabf3064fb4eb879c59c55574c04c6ed7cb
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,3 +1,6 @@ +// Dependencies +var GitUp = require("git-up"); + /** * GitUrlParse * Parses a Git url. @@ -7,11 +10,22 @@ * @param {String} url The Git url to parse. * @return {GitUrl} The `GitUrl` obje...
Use git-up to parse the urls
IonicaBizau_git-url-parse
train
184d62acf8ac77782878188aa43b8e8f2759a0f7
diff --git a/safe/gui/widgets/dock.py b/safe/gui/widgets/dock.py index <HASH>..<HASH> 100644 --- a/safe/gui/widgets/dock.py +++ b/safe/gui/widgets/dock.py @@ -953,9 +953,6 @@ class Dock(QtGui.QDockWidget, FORM_CLASS): self.show_impact(table_report_path) break - ...
multi-exposure IF map report without custom layers order
inasafe_inasafe
train