hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
0d3dd3ee9584cbae47c6488674c8ab8a6194fd69
diff --git a/nupic/support/configuration_base.py b/nupic/support/configuration_base.py index <HASH>..<HASH> 100644 --- a/nupic/support/configuration_base.py +++ b/nupic/support/configuration_base.py @@ -254,14 +254,11 @@ class Configuration(object): with open(filePath, 'rb') as inp: contents = i...
Raise exception when cannot find configuration. Fixes #<I>.
numenta_nupic
train
ae2b0290b2d50b1c91a14b588d89e95f245d6282
diff --git a/lib/pseudohiki/blockparser.rb b/lib/pseudohiki/blockparser.rb index <HASH>..<HASH> 100644 --- a/lib/pseudohiki/blockparser.rb +++ b/lib/pseudohiki/blockparser.rb @@ -4,7 +4,6 @@ require 'treestack' require 'pseudohiki/inlineparser' module PseudoHiki - class BlockParser URI_RE = /(?:(?:https?|ft...
a clean-up of BlockParser for a consistent coding style
nico-hn_PseudoHikiParser
train
0e06fdcd6ef8e1d46d61f3bef7a1b3a6bc875e9b
diff --git a/tofu/geom/_comp_optics.py b/tofu/geom/_comp_optics.py index <HASH>..<HASH> 100644 --- a/tofu/geom/_comp_optics.py +++ b/tofu/geom/_comp_optics.py @@ -430,13 +430,13 @@ def _calc_spect1d_from_data2d(ldata, lamb, phi, # Check / format inputs if spect1d is None: spect1d = 'mean' - P if is...
[#<I>] Resolution of syntax error on comp_optics.py
ToFuProject_tofu
train
e922239867f01ece7cc0b79f17954f9b8d9255c8
diff --git a/test/index.js b/test/index.js index <HASH>..<HASH> 100644 --- a/test/index.js +++ b/test/index.js @@ -1,6 +1,7 @@ 'use strict'; var assign = require('object-assign'); +var webpack = require('webpack'); var StyleLintPlugin = require('../'); var pack = require('./helpers/pack'); @@ -91,7 +92,7 @@ des...
test: interop with NoErrorsPlugin when failOnError is false (as default) (#<I>)
webpack-contrib_stylelint-webpack-plugin
train
25b6fe050c4d751d76a94cd20622985fdfc0027e
diff --git a/lib/form/passwordunmask.php b/lib/form/passwordunmask.php index <HASH>..<HASH> 100644 --- a/lib/form/passwordunmask.php +++ b/lib/form/passwordunmask.php @@ -19,14 +19,14 @@ class MoodleQuickForm_passwordunmask extends MoodleQuickForm_password { } function toHtml() { - global $PAGE; + ...
MDL-<I> hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead
moodle_moodle
train
4e3fa9c6bbb662dbef22b4910c72cc378141b054
diff --git a/src/python/twitter/pants/tasks/binary_utils.py b/src/python/twitter/pants/tasks/binary_utils.py index <HASH>..<HASH> 100644 --- a/src/python/twitter/pants/tasks/binary_utils.py +++ b/src/python/twitter/pants/tasks/binary_utils.py @@ -125,7 +125,7 @@ def safe_classpath(logger=None): yield -def runj...
Merge pull request #<I> from leothekim/master Add support for -no-color in scala compilation logging output (sapling split of <I>baae3c<I>ef<I>e8c<I>f7ab<I>a8b<I>e<I>aaa7)
pantsbuild_pants
train
5112249c243bb26bcc46d05d7b76ad35718c14d8
diff --git a/test/grunt-fontsmith_test.js b/test/grunt-fontsmith_test.js index <HASH>..<HASH> 100644 --- a/test/grunt-fontsmith_test.js +++ b/test/grunt-fontsmith_test.js @@ -38,6 +38,8 @@ function runGruntTask(task) { }); } +// DEV: If you want to develop against this, disable the `rimraf` and `runGruntTask's` +...
Enabling comma assertion and added DEV comment
twolfson_grunt-fontsmith
train
f98ce134f84b838db863b519933b6f606e42d5ac
diff --git a/src/scene_loader.js b/src/scene_loader.js index <HASH>..<HASH> 100644 --- a/src/scene_loader.js +++ b/src/scene_loader.js @@ -238,7 +238,12 @@ export default SceneLoader = { obj = val; } } - // Loop through object properties + // Loop...
only process array indices when applying globals
tangrams_tangram
train
21649c64b640d3077bc9afa3b1e1a9a10f4f8a0c
diff --git a/src/org/opencms/staticexport/CmsDefaultLinkSubstitutionHandler.java b/src/org/opencms/staticexport/CmsDefaultLinkSubstitutionHandler.java index <HASH>..<HASH> 100644 --- a/src/org/opencms/staticexport/CmsDefaultLinkSubstitutionHandler.java +++ b/src/org/opencms/staticexport/CmsDefaultLinkSubstitutionHandle...
removed offline check for root site that caused issues
alkacon_opencms-core
train
2b920fee201c9c6fdedae77a4a3b75a043dd3ba6
diff --git a/concrete/blocks/calendar/view.php b/concrete/blocks/calendar/view.php index <HASH>..<HASH> 100644 --- a/concrete/blocks/calendar/view.php +++ b/concrete/blocks/calendar/view.php @@ -39,6 +39,7 @@ if ($c->isEditMode()) { <?php } ?> events: '<?=$view->action('get_events')?...
Set next day threshold to `<I>:<I>:<I>` for calendar block
concrete5_concrete5
train
c1817d61f94141fb5f5a12844b5b9cb5656590c3
diff --git a/ci/make_conda_packages.py b/ci/make_conda_packages.py index <HASH>..<HASH> 100644 --- a/ci/make_conda_packages.py +++ b/ci/make_conda_packages.py @@ -22,7 +22,7 @@ def iter_stdout(cmd): raise subprocess.CalledProcessError(retcode, cmd[0]) -PKG_PATH_PATTERN = re.compile(".* anaconda upload ...
BLD: Conda output on appveyor changed format so don't expect any space before the "anaconda upload" command.
quantopian_zipline
train
7f7cc34579fe4517d550481a89fa23c736099890
diff --git a/tests/phpunit/unit/EventListener/AccessTokenTest.php b/tests/phpunit/unit/EventListener/AccessTokenTest.php index <HASH>..<HASH> 100644 --- a/tests/phpunit/unit/EventListener/AccessTokenTest.php +++ b/tests/phpunit/unit/EventListener/AccessTokenTest.php @@ -337,6 +337,80 @@ class AccessTokenTest extends Li...
Add tests for the Multiple Access Token Generators implementation
imbo_imbo
train
62f4eff93c149aa0c60d29bc3e1ac668749f471e
diff --git a/core/config/initializers/kaminari_monkeypatches.rb b/core/config/initializers/kaminari_monkeypatches.rb index <HASH>..<HASH> 100644 --- a/core/config/initializers/kaminari_monkeypatches.rb +++ b/core/config/initializers/kaminari_monkeypatches.rb @@ -3,7 +3,7 @@ module Kaminari class Tag # Handl...
This works the same without the ternary.
refinery_refinerycms
train
6ea0281a23e5011d8c053eb893b82ec6c16ce7a6
diff --git a/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/adapters/ColumnDescriptorAdapter.java b/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/adapters/ColumnDescriptorAdapter.java index <HASH>..<HASH> 100644 --- a/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/adapters/Col...
Fixing a bigtable to hbase translation issue. Go Clients default to no garbage collection policy. A project with a default golang table breaks the hbase shell 'list' command. This PR fixes that issue.
googleapis_cloud-bigtable-client
train
d027b23978248b7e26e3662d7db123a17f01e6ac
diff --git a/lib/ghtorrent/ghtorrent.rb b/lib/ghtorrent/ghtorrent.rb index <HASH>..<HASH> 100644 --- a/lib/ghtorrent/ghtorrent.rb +++ b/lib/ghtorrent/ghtorrent.rb @@ -1123,7 +1123,9 @@ module GHTorrent retrieve_forks(owner, repo).reduce([]) do |acc, x| if existing_forks.find {|y| - y[:login] ...
Fix bug that affected filtering of forks to process
gousiosg_github-mirror
train
ba2da36a6c797e658f8b4976832ae09fc6b18f53
diff --git a/envoy/COMMIT b/envoy/COMMIT index <HASH>..<HASH> 100644 --- a/envoy/COMMIT +++ b/envoy/COMMIT @@ -1 +1 @@ -aaac62b81dc4ef263763e7f86c363d4ddf75f8c3 \ No newline at end of file +463eda2f3895fbb24c1fcd085a15d00d12a94079 \ No newline at end of file diff --git a/envoy/config/listener/v3/api_listener.pb.go b/en...
Mirrored from envoyproxy/envoy @ <I>eda2f<I>fbb<I>c1fcd<I>a<I>d<I>d<I>a<I>
envoyproxy_go-control-plane
train
2dd4f775a2e25437d6857c4cf9cd83ff70e569cd
diff --git a/web/ext/annotation.py b/web/ext/annotation.py index <HASH>..<HASH> 100644 --- a/web/ext/annotation.py +++ b/web/ext/annotation.py @@ -50,6 +50,20 @@ class AnnotationExtension(object): The args list and kw dictionary may be freely modified, though invalid arguments to the handler will fail. """ + ...
Tracing information on annotation typecasting failures. Work on #<I>
marrow_WebCore
train
1cf4ec14fad4aa131a28414cb74a224f218e27c5
diff --git a/src/baguetteBox.js b/src/baguetteBox.js index <HASH>..<HASH> 100644 --- a/src/baguetteBox.js +++ b/src/baguetteBox.js @@ -469,7 +469,7 @@ options.afterHide(); } }, 500); - documentLastFocus.focus(); + documentLastFocus && documentLastFocus.focus(); ...
(fix) Prevent TypeError when documentLastFocus is null. Resolves #<I>
feimosi_baguetteBox.js
train
c4e3aadd63bb028982ccac289d68c47d0c33b997
diff --git a/lib/indexing/indexPeek.js b/lib/indexing/indexPeek.js index <HASH>..<HASH> 100644 --- a/lib/indexing/indexPeek.js +++ b/lib/indexing/indexPeek.js @@ -23,8 +23,8 @@ exports.indexValue = function (key, index, callback) { if (err) { if (err.notFound) return callback('[warning] key not fou...
moving API towards options err standard
fergiemcdowall_search-index
train
d7d24217b845bcc6aef9ac4edc4e518317a69c14
diff --git a/maint/scripts/run_fixers.py b/maint/scripts/run_fixers.py index <HASH>..<HASH> 100755 --- a/maint/scripts/run_fixers.py +++ b/maint/scripts/run_fixers.py @@ -1,4 +1,6 @@ #!/usr/bin/env python +# Usage is like 2to3: +# $ maint/scripts/run_fixers.py -wn --no-diffs tornado import sys from lib2to3.main im...
Add usage comement to run_fixers.py.
tornadoweb_tornado
train
d8a84489267eeda91bba6f684bd7752c7f69bc0d
diff --git a/pom.xml b/pom.xml index <HASH>..<HASH> 100644 --- a/pom.xml +++ b/pom.xml @@ -18,9 +18,9 @@ <description>A set of common utilities used within the JBoss Pressgang CCMS project</description> <scm> - <url>https://github.com/mcasperson/PressGangCCMSCommonUtilities</url> - <connection...
Removed the hardcoded Server URL and replaced it with a System Property name.
pressgang-ccms_PressGangCCMSCommonUtilities
train
e490424b064e5572ed99a66dd7a83d52ca38e69c
diff --git a/PhpUnit/DefinitionHasMethodCallConstraint.php b/PhpUnit/DefinitionHasMethodCallConstraint.php index <HASH>..<HASH> 100644 --- a/PhpUnit/DefinitionHasMethodCallConstraint.php +++ b/PhpUnit/DefinitionHasMethodCallConstraint.php @@ -15,7 +15,7 @@ class DefinitionHasMethodCallConstraint extends Constraint ...
Addendum to fix for #<I>, according to requested changes.
SymfonyTest_SymfonyDependencyInjectionTest
train
5123773f2488bbaa1d937d9dbc08612f6cef381d
diff --git a/PHPDaemon/SockJS/Methods/Htmlfile.php b/PHPDaemon/SockJS/Methods/Htmlfile.php index <HASH>..<HASH> 100755 --- a/PHPDaemon/SockJS/Methods/Htmlfile.php +++ b/PHPDaemon/SockJS/Methods/Htmlfile.php @@ -18,7 +18,7 @@ class Htmlfile extends Generic { protected $callbackParamEnabled = true; protected $poll = ...
SockJS: htmlfile improvement
kakserpom_phpdaemon
train
7ed1622b7c5db57126fc28492bf2294f9149974a
diff --git a/Eloquent/Model.php b/Eloquent/Model.php index <HASH>..<HASH> 100755 --- a/Eloquent/Model.php +++ b/Eloquent/Model.php @@ -672,7 +672,7 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializab * * @param mixed $id * @param array $columns - * @return \Illu...
Update doc for findOrNew method This function returns \Illuminate\Database\Eloquent\Model and not a Collection in case the model exists.
illuminate_database
train
0f98a5f921ba9bb1d2a0f2435ee4908a93436640
diff --git a/api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/pm/PasswordManagementProperties.java b/api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/pm/PasswordManagementProperties.java index <HASH>..<HASH> 100644 -...
Password Management Token & Server/Client IP Address check (#<I>) * Password Management Token : Add the capability to disable the check of the client/server ip address. * Code improvement
apereo_cas
train
724c721cc0da76e1b6997e80f4b6590f34d7b8ea
diff --git a/compose.js b/compose.js index <HASH>..<HASH> 100644 --- a/compose.js +++ b/compose.js @@ -17,6 +17,7 @@ function tail (opts) { } function compose (stream, transforms, cb) { + if(!stream) throw new Error('multiserver.compose: *must* pass stream') ;(function next (err, stream, i, addr) { if(err)...
pass optional wrap function which can inject logging or metering around a stream
ssbc_multiserver
train
8c7fb36a5a2b35cbcd535ec4f5fcc8aec4c2f39d
diff --git a/alerta/app/views.py b/alerta/app/views.py index <HASH>..<HASH> 100644 --- a/alerta/app/views.py +++ b/alerta/app/views.py @@ -478,6 +478,9 @@ def get_services(): @jsonp def get_blackouts(): + if g.get('customer', None): + return jsonify(status="error", message="only admin can list blackouts")...
Must be admin for blackouts and users
alerta_alerta
train
a0a9aa78219ad54c1a8be2c478b91bc4ccfa36c1
diff --git a/js/reveal.js b/js/reveal.js index <HASH>..<HASH> 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -3200,8 +3200,7 @@ // Show the corresponding background element - var indices = getIndices( slide ); - var background = getSlideBackground( indices.h, indices.v ); + var background = getSlideBackgroun...
optimize use of getSlideBackground by avoiding index lookup
hakimel_reveal.js
train
7908acf156ed2708b8838876a28b4beea3c9df41
diff --git a/vendor/assets/javascripts/lib/dialog_mass_fields_update.js b/vendor/assets/javascripts/lib/dialog_mass_fields_update.js index <HASH>..<HASH> 100644 --- a/vendor/assets/javascripts/lib/dialog_mass_fields_update.js +++ b/vendor/assets/javascripts/lib/dialog_mass_fields_update.js @@ -1,5 +1,5 @@ ActiveAdmin....
Update typo in mass update confirm box HTML
activeadmin-plugins_active_admin_scoped_collection_actions
train
2f8996beafc3d4b1ed9d2f1327d77d855b4a181f
diff --git a/emotions.gemspec b/emotions.gemspec index <HASH>..<HASH> 100644 --- a/emotions.gemspec +++ b/emotions.gemspec @@ -23,6 +23,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rake' spec.add_development_dependency 'bundler', '~> 1.3' spec.add_development_dependency 'rspec', '~> 2...
Get rid of DatabaseCleaner
mirego_emotions
train
0cb05e2985872418ef9dd7b2bed60bdabf0a9758
diff --git a/lib/kartograph/dsl.rb b/lib/kartograph/dsl.rb index <HASH>..<HASH> 100644 --- a/lib/kartograph/dsl.rb +++ b/lib/kartograph/dsl.rb @@ -14,7 +14,7 @@ module Kartograph def representation_for(scope, object, dumper = JSON) drawed = Artist.new(object, @kartograph_map).draw(scope) - if r...
Add extracting collections + root key support.
digitalocean_kartograph
train
e93f8c3334ff826b8fa1bb6e68247db3b3a37b1f
diff --git a/loader/loader.go b/loader/loader.go index <HASH>..<HASH> 100644 --- a/loader/loader.go +++ b/loader/loader.go @@ -75,7 +75,7 @@ func Load(fs afero.Fs, pwd, name string) (*lib.SourceData, error) { } // Do not allow remote-loaded scripts to lift arbitrary files off the user's machine. - if name[0] == '...
Theoretical fix for loading Windows-style paths I need a Windows install to verify
loadimpact_k6
train
79de4d2b93adad9c198f83b0f1368cd2d42de597
diff --git a/src/js/mousewheel.js b/src/js/mousewheel.js index <HASH>..<HASH> 100644 --- a/src/js/mousewheel.js +++ b/src/js/mousewheel.js @@ -60,6 +60,8 @@ function handleMousewheel(e) { } } + if (s.params.mousewheelControlInvert) delta = -delta; + if (!s.params.freeMode) { if ((new wi...
Option to invert mouse wheel Fixes #<I>
nolimits4web_swiper
train
3c53f6a19821954a94b4d08b946ce26e3fcf6e79
diff --git a/lib/stemcell.rb b/lib/stemcell.rb index <HASH>..<HASH> 100644 --- a/lib/stemcell.rb +++ b/lib/stemcell.rb @@ -151,7 +151,7 @@ module Stemcell @log.debug "about to launch instance(s) with options #{opts}" @log.info "launching instances" instances = @ec2.instances.create(opts) - ins...
fix support for spawning 2+ instances Avoid the following exception: lib/stemcell.rb:<I>:in `block in do_launch': undefined method `instance_id' for #<Array:0x<I>ff<I>ec<I>be8> (NoMethodError)
airbnb_stemcell
train
e6a408ea7c54c8043c1919af6d18c39b9a1b8c36
diff --git a/Kwc/Basic/ParentContent/Component.php b/Kwc/Basic/ParentContent/Component.php index <HASH>..<HASH> 100644 --- a/Kwc/Basic/ParentContent/Component.php +++ b/Kwc/Basic/ParentContent/Component.php @@ -19,6 +19,11 @@ class Kwc_Basic_ParentContent_Component extends Kwc_Abstract return $ret; } + ...
possibility to get ParentContentData from ParentContent-Component
koala-framework_koala-framework
train
ffe3de1692f5872040cd49f021dccae39fa3897c
diff --git a/app/controllers/api_keys_controller.rb b/app/controllers/api_keys_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/api_keys_controller.rb +++ b/app/controllers/api_keys_controller.rb @@ -2,8 +2,10 @@ class ApiKeysController < ApplicationController def show authenticate_or_request_wit...
Checking that the user was authenticated when handing out api keys
rubygems_rubygems.org
train
898d2cfc62f1b3fd7fd5bca592b0f134350110ad
diff --git a/src/patterns/components/tables/react/info/column-comparison.hbs b/src/patterns/components/tables/react/info/column-comparison.hbs index <HASH>..<HASH> 100644 --- a/src/patterns/components/tables/react/info/column-comparison.hbs +++ b/src/patterns/components/tables/react/info/column-comparison.hbs @@ -33,7 ...
update additionalClasses to additionalContainerClasses
sparkdesignsystem_spark-design-system
train
4ecd75ca483157dc84ed81b315a7e46ca5faf985
diff --git a/lib/components/user/notification-prefs-pane.js b/lib/components/user/notification-prefs-pane.js index <HASH>..<HASH> 100644 --- a/lib/components/user/notification-prefs-pane.js +++ b/lib/components/user/notification-prefs-pane.js @@ -368,6 +368,7 @@ class PhoneNumberEditor extends Component { ...
refactor(PhoneNumberEditor): Mention code expiration in SMS instructions.
opentripplanner_otp-react-redux
train
93d040700566961f9ccfc5a8cdad5ecc5a5ff42a
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -56,6 +56,7 @@ function createErr(err, opts) { module.exports = function (options) { var relativeCompileDir = '_14139e58-9ebe-4c0f-beca-73a65bb01ce9'; var procDir = process.cwd(); + options = options || {}; // error h...
Add options default so the options.container check doesn't error out if a user runs the plugin with no options.
sindresorhus_gulp-ruby-sass
train
b2132a597fb7c16ccd8611cdca88aeec6922ff99
diff --git a/packages/trail-fastify-graphql-plugin/README.md b/packages/trail-fastify-graphql-plugin/README.md index <HASH>..<HASH> 100644 --- a/packages/trail-fastify-graphql-plugin/README.md +++ b/packages/trail-fastify-graphql-plugin/README.md @@ -30,6 +30,15 @@ main().catch(console.error) Graphql queries can the...
improvement: describe plugin config options in readme
nearform_trail
train
eaf99393c8d4696b4f7bc2e7e034dd44327878f1
diff --git a/pyromancer/decorators.py b/pyromancer/decorators.py index <HASH>..<HASH> 100644 --- a/pyromancer/decorators.py +++ b/pyromancer/decorators.py @@ -29,6 +29,16 @@ class command(object): return wrapper def match(self, line, connection, settings): + m = self.matches(line, settings) + + ...
Refactor logic of the command decorator to multiple methods
Gwildor_Pyromancer
train
f5eb7612fbc6bf574986e3b1849d10862683538a
diff --git a/src/Label/ReadModels/Relations/Projector.php b/src/Label/ReadModels/Relations/Projector.php index <HASH>..<HASH> 100644 --- a/src/Label/ReadModels/Relations/Projector.php +++ b/src/Label/ReadModels/Relations/Projector.php @@ -200,9 +200,10 @@ class Projector extends AbstractProjector }, ...
III-<I> Create the array of UDB2 labels with a case insensitive compare. When updating the label relations all labels expect the UDB3 labels are deleted. After that the UDB2 labels are added again. When doing so make sure to calculate the UDB2 labels on a case insensitive way.
cultuurnet_udb3-php
train
fd77382d31c287ce8d8b5a8969f63f9b4ec9fe60
diff --git a/src/hupper/ipc.py b/src/hupper/ipc.py index <HASH>..<HASH> 100644 --- a/src/hupper/ipc.py +++ b/src/hupper/ipc.py @@ -1,4 +1,5 @@ import io +import imp import importlib import os import struct @@ -252,12 +253,30 @@ def get_command_line(**kwds): prog = 'from hupper.ipc import spawn_main; spawn_main...
copy sys.path to the worker process and ensure hupper is on the PYTHONPATH zc.buildout directly enhances sys.path of a process and thus the path is not inherited by any children. This fix puts hupper on the PYTHONPATH such that it is importable in the worker process. Finally it copies the entire sys.path to the worker...
Pylons_hupper
train
44ede8c81dbfbac2e28eeb5ef33f3c8c03107a26
diff --git a/progs.js b/progs.js index <HASH>..<HASH> 100644 --- a/progs.js +++ b/progs.js @@ -189,7 +189,7 @@ function atoz_list(obj) { //---------------------------------------------------------------------------------- function episode_list(obj) { - console.log('Episodes list'); + //console.log('Episodes list');...
Page through latest feeds using ?page=
MikeRalphson_bbcparse
train
e42c33570031cfbf2d76867b7f83ae2d21fcf168
diff --git a/github/repos_collaborators.go b/github/repos_collaborators.go index <HASH>..<HASH> 100644 --- a/github/repos_collaborators.go +++ b/github/repos_collaborators.go @@ -91,7 +91,8 @@ type RepositoryAddCollaboratorOptions struct { Permission string `json:"permission,omitempty"` } -// AddCollaborator adds ...
Improve documentation of AddCollaborator method. (#<I>) This is a cherry-pick of a minor documentation improvement for AddCollaborator method from <URL>
google_go-github
train
aa5c1d0b2d125879b7e7ebc14661bf2f9454754a
diff --git a/lib/hubspot/deal.rb b/lib/hubspot/deal.rb index <HASH>..<HASH> 100644 --- a/lib/hubspot/deal.rb +++ b/lib/hubspot/deal.rb @@ -99,8 +99,13 @@ module Hubspot # @return [Array] Array of Hubspot::Deal records def find_by_association(object) path = ASSOCIATED_DEAL_PATH - type = obj...
Determine instance type based on supported object type
adimichele_hubspot-ruby
train
06c5d022f3d143210c64e7a5f590910a6309120a
diff --git a/openaps/reports/show.py b/openaps/reports/show.py index <HASH>..<HASH> 100644 --- a/openaps/reports/show.py +++ b/openaps/reports/show.py @@ -24,6 +24,12 @@ class Formatter (object): config = task.method.from_ini(dict(**report.fields)) for act in task.method.parser._actions: + def accrue (...
ensure positionals appear after switches In general, optional switches should come before required positionals. This helps encourage moving switches towards the beginning of the line. In addition, this helps tweak issue #<I> <URL>
openaps_openaps
train
310209bed2b8a4a919861d5b4d87a7d344a7d964
diff --git a/util/validate/messages.js b/util/validate/messages.js index <HASH>..<HASH> 100644 --- a/util/validate/messages.js +++ b/util/validate/messages.js @@ -3,5 +3,9 @@ module.exports = { maxlength: 'You need more than %s characters.', minlength: 'You need at least %s characters.', equalTo: 'The values do n...
Added test and messages (date, dateString, timeString & number).
thecodebureau_ridge
train
b319e69ecb06692995664dba263813d99bc2145f
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adap...
PostgreSQL: pg driver expects nil instead of empty string for missing user/pass
rails_rails
train
74a8b188a19f09cef0f0670104cb77a532a5b8dd
diff --git a/hazelcast/src/main/java/com/hazelcast/client/impl/client/ClientCreateRequest.java b/hazelcast/src/main/java/com/hazelcast/client/impl/client/ClientCreateRequest.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/client/impl/client/ClientCreateRequest.java +++ b/hazelcast/src/main/...
added a check for already created distributed object
hazelcast_hazelcast
train
d9f378e38bcef23c814032747e0cca9f6162a656
diff --git a/evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPool.java b/evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPool.java index <HASH>..<HASH> 100644 --- a/evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPool.java +++ b/evcache-core/src/main/java/com/netflix/e...
fixed a refresh bug where the pool was continuously getting refreshed
Netflix_EVCache
train
27d625a8639ffd7865c2b1d8a99e8fd6f8effd08
diff --git a/lib/filestorage/file_storage.php b/lib/filestorage/file_storage.php index <HASH>..<HASH> 100644 --- a/lib/filestorage/file_storage.php +++ b/lib/filestorage/file_storage.php @@ -1575,7 +1575,7 @@ class file_storage { $existingfile = null; if (isset($filerecord->contenthash)) { - ...
MDL-<I> file_storage: may have many files with same content hash
moodle_moodle
train
7aed0f6743992f710179e18753f2c5a737de61b7
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -176,7 +176,7 @@ function processEntry (entry, cb) { reader.readEntries(entries_ => { if (entries_.length > 0) { entries = entries.concat(Array.from(entries_)) - readEntries() // continue reading en...
pass reader to recursive call to readEntries
feross_drag-drop
train
4772c4694c945f8c40a825e1b89f6d6a1b095071
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index <HASH>..<HASH> 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,6 +20,8 @@ Added Changed ^^^^^^^ +* `@j-rausch`_: ``Document.text`` now returns the modified document text, based + on the user-defined html-tag stripping in the parsing stage. * `@j-rausch`_: ``N...
Changed the Document.text attribute from the original document text to the stripped document text
HazyResearch_fonduer
train
71388d65438f9aa5e7dbc6d6b3b65a7441b9f376
diff --git a/closure/goog/ui/editor/bubble.js b/closure/goog/ui/editor/bubble.js index <HASH>..<HASH> 100644 --- a/closure/goog/ui/editor/bubble.js +++ b/closure/goog/ui/editor/bubble.js @@ -34,6 +34,7 @@ goog.require('goog.editor.style'); goog.require('goog.events.EventHandler'); goog.require('goog.events.EventTarge...
Allow subclasses to change the margins and viewport box used when positioning. Closure component of cr/<I> ------------- Created by MOE: <URL>
google_closure-library
train
9caf07dd4f7036168c423d335f53ae8a212eba18
diff --git a/lib/devise/models/rememberable.rb b/lib/devise/models/rememberable.rb index <HASH>..<HASH> 100644 --- a/lib/devise/models/rememberable.rb +++ b/lib/devise/models/rememberable.rb @@ -46,7 +46,7 @@ module Devise end def remember_me! - self.remember_token = self.class.remember_token if ...
Fix overwriting the remember_token when a valid one already exists (#<I>) The remember_token should not get overwritten when a user is signing in and a valid token already exists. Fixes #<I>.
plataformatec_devise
train
92e1b7aad38e3c09c3438a9e33941746045bc05b
diff --git a/lib/statistrano/config.rb b/lib/statistrano/config.rb index <HASH>..<HASH> 100644 --- a/lib/statistrano/config.rb +++ b/lib/statistrano/config.rb @@ -14,22 +14,6 @@ module Statistrano @tasks = tasks.nil? ? {} : tasks.clone end - def option key, value - data[key] = value - end - - ...
switch from the method missing configure block to explicit `option` and `options` methods
mailchimp_statistrano
train
2394e61ecdce3d7b2f166255a9d6f132b67f6fdc
diff --git a/examples/helloworld/context.go b/examples/helloworld/context.go index <HASH>..<HASH> 100644 --- a/examples/helloworld/context.go +++ b/examples/helloworld/context.go @@ -7,11 +7,11 @@ import ( "github.com/muesli/smolder" ) -// Context is polly's central context +// Context is the central API context ...
Remove polly (github.com/muesli/polly) references
muesli_smolder
train
403f0b3c4043cac8dfcec3fa9913b32a5ae4cd0a
diff --git a/master/buildbot/data/workers.py b/master/buildbot/data/workers.py index <HASH>..<HASH> 100644 --- a/master/buildbot/data/workers.py +++ b/master/buildbot/data/workers.py @@ -61,7 +61,7 @@ class WorkerEndpoint(Db2DataMixin, base.Endpoint): defer.returnValue(self.db2data(sldict)) -class Buil...
rename BuildslavesEndpoint to WorkersEndpoint
buildbot_buildbot
train
6d8ec8165219695ae7e97a15ccbb80143707e9e7
diff --git a/lib/httpi/adapter.rb b/lib/httpi/adapter.rb index <HASH>..<HASH> 100644 --- a/lib/httpi/adapter.rb +++ b/lib/httpi/adapter.rb @@ -38,9 +38,7 @@ module HTTPI end def load(adapter) - adapter ||= use - validate_adapter!(adapter) - load_adapter(adapter) + adapter = a...
revert "load the adapter dependencies on request" this reverts commit c<I>b7fe<I>a0b<I>a<I>c<I>adb5ecdd<I>b<I>b1.
savonrb_httpi
train
58154baaad0db5cd42c559883e2ae8bcdb011d8f
diff --git a/src/generators/plugin.js b/src/generators/plugin.js index <HASH>..<HASH> 100644 --- a/src/generators/plugin.js +++ b/src/generators/plugin.js @@ -7,19 +7,18 @@ import requireModules from './requireModules'; export default () => { const tmpl = template(` export default function cssValues (propert...
Add test for injecting valueParser instance.
ben-eb_css-values
train
e4f221cc6c120ae4ad742a936c8381ca53ec63b6
diff --git a/src/rotest/management/base_resource.py b/src/rotest/management/base_resource.py index <HASH>..<HASH> 100644 --- a/src/rotest/management/base_resource.py +++ b/src/rotest/management/base_resource.py @@ -17,23 +17,23 @@ from rotest.management.common.utils import HOST_PORT_SEPARATOR class ConvertToKwargs...
changed tactics, args is not allowed anymore
gregoil_rotest
train
b0fb08e29dc86d7aadd5cb390c6cbe04488024fa
diff --git a/cacti/test_cacti.py b/cacti/test_cacti.py index <HASH>..<HASH> 100644 --- a/cacti/test_cacti.py +++ b/cacti/test_cacti.py @@ -50,18 +50,23 @@ MOCK_RRD_META = [('localhost', None, '/var/lib/cacti/rra/localhost_mem_buffers_3 @attr('winfixme') class TestCacti(AgentCheckTest): CHECK_NAME = 'cacti' - ...
[cacti][test] fix for SDK-style patching.
DataDog_integrations-core
train
f2845299022c65435e8d508fd4260baf8446f73a
diff --git a/bundles/org.eclipse.orion.client.javascript/web/tern/plugin/orionRequire.js b/bundles/org.eclipse.orion.client.javascript/web/tern/plugin/orionRequire.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.javascript/web/tern/plugin/orionRequire.js +++ b/bundles/org.eclipse.orion.client.java...
Bug <I> - [tern] Failing to resolve a logical path (that doesn't exist) causes dependency problems
eclipse_orion.client
train
a63befac71e5a9b9557cbdd2465a4fa07ae756ff
diff --git a/src/OAuth2/GrantType/JWTBearer.php b/src/OAuth2/GrantType/JWTBearer.php index <HASH>..<HASH> 100644 --- a/src/OAuth2/GrantType/JWTBearer.php +++ b/src/OAuth2/GrantType/JWTBearer.php @@ -17,10 +17,8 @@ class OAuth2_GrantType_JWTBearer implements OAuth2_GrantTypeInterface, OAuth2_Re * * @param OA...
Formatted php docblocks.
bshaffer_oauth2-server-php
train
462711c4b9cfbde62826de826a156c99e83786a1
diff --git a/src/views/hub/options.php b/src/views/hub/options.php index <HASH>..<HASH> 100644 --- a/src/views/hub/options.php +++ b/src/views/hub/options.php @@ -24,39 +24,51 @@ $this->params['breadcrumbs'][] = $this->title; <?= Html::activeHiddenInput($model, 'id') ?> -<div class="box"> - <div class="box-body...
Changed markup in hub options view
hiqdev_hipanel-module-server
train
d664745254eb347224c4f19ad7524c6f4a332202
diff --git a/core.js b/core.js index <HASH>..<HASH> 100644 --- a/core.js +++ b/core.js @@ -50,6 +50,11 @@ Reducible(Array, { return result } }) +Reducible(undefined, null, { + reduce: function reduce(f, _, start) { + return start + } +}) function marker(name) { return function mark(value) {
Implement reducible for null and undefined.
Gozala_reducers
train
ee91cb6c7d71e3a90d87f01c95e2ac91e23b8ecf
diff --git a/icons/ionicons.js b/icons/ionicons.js index <HASH>..<HASH> 100644 --- a/icons/ionicons.js +++ b/icons/ionicons.js @@ -58,7 +58,7 @@ export default { arrowLeft: 'ion-chevron-left', arrowRight: 'ion-chevron-right' }, - editor: { // TODO + editor: { // TODO (requires Material icons for some as ...
feat: Add missing MDI icon for QEditor
quasarframework_quasar
train
542b6942c66ce5fe7078aa3f70b9e8a384183f95
diff --git a/lib/intercom/tag.rb b/lib/intercom/tag.rb index <HASH>..<HASH> 100644 --- a/lib/intercom/tag.rb +++ b/lib/intercom/tag.rb @@ -23,7 +23,7 @@ module Intercom # Or update a tag and save it like this: # tag = Intercom::Tag.find_by_name "Super Tag" # tag.color = "green" - # tag.user_ids = ['abc123...
Adding ability to shovel users into tagging/untagging op
intercom_intercom-ruby
train
6c0cda6707660bcc455241b9b32924acf1f1a449
diff --git a/backbone.js b/backbone.js index <HASH>..<HASH> 100644 --- a/backbone.js +++ b/backbone.js @@ -730,7 +730,7 @@ // Add a model to the end of the collection. push: function(model, options) { model = this._prepareModel(model, options); - this.add(model, options); + this.add(model, _....
Fix #<I>, Collection#push should not sort.
jashkenas_backbone
train
8ee68df7e9b245b2db30a3133c7670126bcff1b3
diff --git a/keanu-project/src/main/java/io/improbable/keanu/algorithms/mcmc/nuts/AdaptiveQuadraticPotential.java b/keanu-project/src/main/java/io/improbable/keanu/algorithms/mcmc/nuts/AdaptiveQuadraticPotential.java index <HASH>..<HASH> 100644 --- a/keanu-project/src/main/java/io/improbable/keanu/algorithms/mcmc/nuts/...
clean up formatting in adaptive quadratic potential
improbable-research_keanu
train
59b56fa092abd61374928dbb357ecaaaa6bf392d
diff --git a/base.php b/base.php index <HASH>..<HASH> 100644 --- a/base.php +++ b/base.php @@ -330,7 +330,7 @@ final class Base extends Prefab implements ArrayAccess { $this->fallback=$val; $lang=$this->language($this->hive['LANGUAGE']); case 'LANGUAGE': - if (isset($lang) || $lang=$this->language($val)) +...
lexicon and fallback: minor fixes
bcosca_fatfree-core
train
f1cf232eccd1ed2ed9432ca6c2a5fa17297cbceb
diff --git a/datalad_service/tasks/description.py b/datalad_service/tasks/description.py index <HASH>..<HASH> 100644 --- a/datalad_service/tasks/description.py +++ b/datalad_service/tasks/description.py @@ -2,20 +2,23 @@ import json import os from datalad_service.common.celery import dataset_task + def edit_descri...
Use the same JSON indent rules as OpenNeuro. This prevents extra git churn when each formats the same file differently.
OpenNeuroOrg_openneuro
train
c22e314ce8e9ad1b6b91125272e4e33c5ce2e35c
diff --git a/lib/chef/search/query.rb b/lib/chef/search/query.rb index <HASH>..<HASH> 100644 --- a/lib/chef/search/query.rb +++ b/lib/chef/search/query.rb @@ -63,7 +63,7 @@ class Chef args_h = hashify_args(*args) if args_h[:fuzz] - if type == :node + if [:node, 'node'].include?(typ...
Fix fuzzy node search to work when the search type is a string rather than a symbol
chef_chef
train
7a36704ce3af322ad7a52dfd1af721d0cd8ed89d
diff --git a/lib/rails_best_practices/version.rb b/lib/rails_best_practices/version.rb index <HASH>..<HASH> 100644 --- a/lib/rails_best_practices/version.rb +++ b/lib/rails_best_practices/version.rb @@ -1,4 +1,4 @@ # encoding: utf-8 module RailsBestPractices - VERSION = "1.13.0" + VERSION = "1.13.1" end
Bumping version to <I>
flyerhzm_rails_best_practices
train
e6da44526ae7af73d667766ff451fcd5313a3eb6
diff --git a/invenio_oaiserver/config.py b/invenio_oaiserver/config.py index <HASH>..<HASH> 100644 --- a/invenio_oaiserver/config.py +++ b/invenio_oaiserver/config.py @@ -133,3 +133,6 @@ OAISERVER_CACHE_KEY = 'DynamicOAISets::' OAISERVER_CELERY_TASK_CHUNK_SIZE = 100 """Specify the maximum number of records each tas...
minter: addition of configurable control key value
inveniosoftware_invenio-oaiserver
train
dee7822746c3fe56592e5d1986388ee1fa263eb1
diff --git a/lib/foodcritic/api.rb b/lib/foodcritic/api.rb index <HASH>..<HASH> 100644 --- a/lib/foodcritic/api.rb +++ b/lib/foodcritic/api.rb @@ -224,6 +224,13 @@ module FoodCritic end atts[att.xpath('string(ident/@value)')] = att_value end + resource.xpath("do_block/descendant::method_ad...
Include blocks in resource_attributes, refs #<I>.
Foodcritic_foodcritic
train
37d286894699f546dd462496fbe9983af8e50bae
diff --git a/nodemcu_uploader/luacode.py b/nodemcu_uploader/luacode.py index <HASH>..<HASH> 100644 --- a/nodemcu_uploader/luacode.py +++ b/nodemcu_uploader/luacode.py @@ -33,7 +33,7 @@ function recv_block(d) end function recv_name(d) d = d:gsub('%z.*', '') file.remove(d) file.open(d, 'w') uart.on('data', 130, recv_bl...
Now sha1 verify works in firmware:dev * related to #<I> and #<I>
kmpm_nodemcu-uploader
train
2ef0e3b014ea8b7970aaa6507ebc2993ff7361b9
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/BugRanker.java b/findbugs/src/java/edu/umd/cs/findbugs/BugRanker.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/BugRanker.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/BugRanker.java @@ -35,7 +35,15 @@ import edu.umd.cs.findbugs.util.Ut...
Plugin can not have bugrank.txt. In this case, an empty bugranker will be created, see <URL>
spotbugs_spotbugs
train
a609afe52f2669563a9ff29c67c8c2acb1b47012
diff --git a/modules/ve2/dm/ve.dm.Document.js b/modules/ve2/dm/ve.dm.Document.js index <HASH>..<HASH> 100644 --- a/modules/ve2/dm/ve.dm.Document.js +++ b/modules/ve2/dm/ve.dm.Document.js @@ -149,6 +149,34 @@ ve.dm.Document = function( data, parentDocument ) { /* Static methods */ /** + * Applies annotations to cont...
Port static method addAnnotationsToData from ve to ve2
wikimedia_parsoid
train
ab2fce19bc40871f8e0a6b0a9ec2a9444186d8e1
diff --git a/blockstack_client/actions.py b/blockstack_client/actions.py index <HASH>..<HASH> 100644 --- a/blockstack_client/actions.py +++ b/blockstack_client/actions.py @@ -4151,20 +4151,96 @@ def cli_get_namespace_blockchain_record(args, config_path=CONFIG_PATH): return result +def cli_get_snv_blockchain_re...
make lookup_snv() return the actual profile. Add get_snv_blockchain_record for getting blockchain records with SNV
blockstack_blockstack-core
train
66e092075746ec991d9b111315a22de1c0e4dbc8
diff --git a/smart_selects/widgets.py b/smart_selects/widgets.py index <HASH>..<HASH> 100644 --- a/smart_selects/widgets.py +++ b/smart_selects/widgets.py @@ -2,6 +2,7 @@ from django.conf import settings from django.forms.widgets import Select from django.core.urlresolvers import reverse from django.utils.safestring...
added get_model import in widgets
digi604_django-smart-selects
train
a353c8d1bb2601efbcefa3d2055c79eba9fe9799
diff --git a/pkg/api/login_oauth.go b/pkg/api/login_oauth.go index <HASH>..<HASH> 100644 --- a/pkg/api/login_oauth.go +++ b/pkg/api/login_oauth.go @@ -96,7 +96,7 @@ func OAuthLogin(ctx *middleware.Context) { } sslcli := &http.Client{Transport: tr} - oauthCtx = context.TODO() + oauthCtx = context.Background() ...
added explicitly setting token as Bearer Type
grafana_grafana
train
a39cb0518fffd95ad2f0bab948a7679496591629
diff --git a/openid/server/server.py b/openid/server/server.py index <HASH>..<HASH> 100644 --- a/openid/server/server.py +++ b/openid/server/server.py @@ -1418,6 +1418,7 @@ class EncodingError(Exception): """ def __init__(self, response): + Exception.__init__(self, response) self.response = ...
[project @ Call Exception constructor for EncodingError in server]
necaris_python3-openid
train
2e939ef454147dd57a347180390dbc65749e85eb
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -7,7 +7,7 @@ function Parser(options) { return new Parser(options); this.timeOut = options.timeOut || 10000; - this.agent = new http.Agent(); // http agent + this.agent = options.agent || ...
add possibility to use a custom http agent/pool
eiriklv_site-parser
train
0fa1b53f25616e3a3296a6b4c69ae55f1fe4ee27
diff --git a/lenstronomy/Sampling/sampler.py b/lenstronomy/Sampling/sampler.py index <HASH>..<HASH> 100644 --- a/lenstronomy/Sampling/sampler.py +++ b/lenstronomy/Sampling/sampler.py @@ -232,7 +232,7 @@ class Sampler(object): size=n_walkers) if backe...
set ncheck = 1 so backend file is always created
sibirrer_lenstronomy
train
e48ad5dd60ff38741178f9bce2c4e2691855aba0
diff --git a/pyrtl/compilesim.py b/pyrtl/compilesim.py index <HASH>..<HASH> 100644 --- a/pyrtl/compilesim.py +++ b/pyrtl/compilesim.py @@ -62,6 +62,7 @@ class CompiledSimulation(object): at the cost of somewhat longer setup time. Generally this will do better than FastSimulation for simulations requiring over...
add check in simulation trace render for empty trace list
UCSBarchlab_PyRTL
train
604329359e3257da4aa2d4d90a053119cd1a5f6e
diff --git a/src/StrawberryfieldEventType.php b/src/StrawberryfieldEventType.php index <HASH>..<HASH> 100644 --- a/src/StrawberryfieldEventType.php +++ b/src/StrawberryfieldEventType.php @@ -23,7 +23,7 @@ final class StrawberryfieldEventType { * * @see strawberryfield_node_presave * @see \Drupal\strawberryf...
Add a @see hint to the Event Type Adds an implementation hint
esmero_strawberryfield
train
e60e17cffb2f646ef6a0a14672dd08d38312be31
diff --git a/core/src/main/java/org/kohsuke/stapler/HttpResponseRenderer.java b/core/src/main/java/org/kohsuke/stapler/HttpResponseRenderer.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/kohsuke/stapler/HttpResponseRenderer.java +++ b/core/src/main/java/org/kohsuke/stapler/HttpResponseRenderer.java @@ -2...
escaping more things. Can't use JSONUtils.quote just yet because it got "string that looks like a function" check
stapler_stapler
train
5ed80369d26cda0fca0d783af24bac5a819609df
diff --git a/src/Common/Multipart/AbstractPartGenerator.php b/src/Common/Multipart/AbstractPartGenerator.php index <HASH>..<HASH> 100644 --- a/src/Common/Multipart/AbstractPartGenerator.php +++ b/src/Common/Multipart/AbstractPartGenerator.php @@ -125,7 +125,7 @@ abstract class AbstractPartGenerator implements \Iterator...
Fixed a issue with how the MUP part generator traversed through streams that was exposed after a Guzzle upgrade.
aws_aws-sdk-php
train
75a89cb4d41fa7afaee69ba6a434acefb8f13d81
diff --git a/lib/page-object/javascript_framework_facade.rb b/lib/page-object/javascript_framework_facade.rb index <HASH>..<HASH> 100644 --- a/lib/page-object/javascript_framework_facade.rb +++ b/lib/page-object/javascript_framework_facade.rb @@ -69,7 +69,7 @@ module PageObject end def unknown_framework...
Fixed a typo Corrected a misspelled word.
cheezy_page-object
train
41b6c3c2bfc431f289cbc695ebe45eb0f2ab44fe
diff --git a/salt/modules/lxc.py b/salt/modules/lxc.py index <HASH>..<HASH> 100644 --- a/salt/modules/lxc.py +++ b/salt/modules/lxc.py @@ -2907,7 +2907,7 @@ def running_systemd(name, cache=True): '''\ #!/usr/bin/env bash set -x - if ! which systemctl 1>/dev/nulll 2>/dev...
Fix typo in redirecting shell output to /dev/null
saltstack_salt
train
af1888455c52f767f681e114c4fa21e091c01b98
diff --git a/azurerm/restfns.py b/azurerm/restfns.py index <HASH>..<HASH> 100644 --- a/azurerm/restfns.py +++ b/azurerm/restfns.py @@ -1,14 +1,24 @@ -# restfns - REST functions for azurerm - +# azurerm restfns - REST functions for azurerm +import json import requests +import pkg_resources # to get version +import plat...
Add User-Agent to Azure REST headers
gbowerman_azurerm
train
cb50e8d166ddd0c5fe6c6cda271f85911899db47
diff --git a/gerrit_test.go b/gerrit_test.go index <HASH>..<HASH> 100644 --- a/gerrit_test.go +++ b/gerrit_test.go @@ -293,3 +293,18 @@ func TestRemoveMagicPrefixLine(t *testing.T) { } } } + +func TestRemoveMagicPrefixLineDoesNothingWithoutPrefix(t *testing.T) { + mockData := []struct { + Current, Expected []byt...
adding test for new behavior in RemoveMagicPrefixLine
andygrunwald_go-gerrit
train
1c990e720042b6e81e08919af24433cddd89cefe
diff --git a/rcfile/src/main/java/com/twitter/elephantbird/mapreduce/input/RCFileThriftInputFormat.java b/rcfile/src/main/java/com/twitter/elephantbird/mapreduce/input/RCFileThriftInputFormat.java index <HASH>..<HASH> 100644 --- a/rcfile/src/main/java/com/twitter/elephantbird/mapreduce/input/RCFileThriftInputFormat.jav...
while serializing Thrift object to rcfile bytes array, use the actual values of the fields, irrespective of whether they are explicitly 'set' or not. This matches what Thrift does.
twitter_elephant-bird
train
4a94f379b4dc471df985db84d26e579f8d39c518
diff --git a/allianceauth/srp/managers.py b/allianceauth/srp/managers.py index <HASH>..<HASH> 100644 --- a/allianceauth/srp/managers.py +++ b/allianceauth/srp/managers.py @@ -6,7 +6,7 @@ import logging logger = logging.getLogger(__name__) -class srpManager: +class SRPManager: def __init__(self): pass...
Correct issues with the SRP merge from v1
allianceauth_allianceauth
train
536f5a830c3d1bb3b5c82ca8537b08c21009632a
diff --git a/src/Illuminate/Foundation/Console/ServeCommand.php b/src/Illuminate/Foundation/Console/ServeCommand.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Foundation/Console/ServeCommand.php +++ b/src/Illuminate/Foundation/Console/ServeCommand.php @@ -105,6 +105,7 @@ class ServeCommand extends Command ...
[8.x] Do not set SYSTEMROOT to false (#<I>)
laravel_framework
train
8236fc88f49f783097502ff8b64a65d0bd51421a
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -42,7 +42,7 @@ extensions = ['sphinx.ext.autodoc', #'numpydoc', #'IPython.sphinxext.ipython_console_highlighting', #'IPython.sphinxext.ipython_directive', - ...
Removed additional sphnix extension
KarchinLab_probabilistic2020
train
926933c620d638078ff57a2dc405dbaa58aec47f
diff --git a/maven/src/test/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojoTest.java b/maven/src/test/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojoTest.java index <HASH>..<HASH> 100644 --- a/maven/src/test/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojoTest.java +++ b/maven/src/...
removed deprecated jmockit method
jeremylong_DependencyCheck
train
38c0d67f849dfb46f60652ad507a98811d9cc23f
diff --git a/src/CalendR/Calendar.php b/src/CalendR/Calendar.php index <HASH>..<HASH> 100644 --- a/src/CalendR/Calendar.php +++ b/src/CalendR/Calendar.php @@ -157,7 +157,9 @@ class Calendar public function getSecond($yearOrStart, $month = null, $day = null, $hour = null, $minute = null, $second = null) { ...
Update Calendar Class Fix coding standards (line exceeded <I> characters).
yohang_CalendR
train