hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
a88219b70073239b84ec61fda6e99b61d69e0a04
diff --git a/lib/Widget/Smarty.php b/lib/Widget/Smarty.php index <HASH>..<HASH> 100644 --- a/lib/Widget/Smarty.php +++ b/lib/Widget/Smarty.php @@ -81,7 +81,9 @@ class Smarty extends AbstractView */ public function assign($name, $value = null) { - return $this->smarty->assign($name, $value); +...
returned self instead of void in view widgets
twinh_wei
train
23fd3e3e5f9b66b4d4c53b9cddf63ae480a4fe7a
diff --git a/subdownloader/provider/opensubtitles.py b/subdownloader/provider/opensubtitles.py index <HASH>..<HASH> 100644 --- a/subdownloader/provider/opensubtitles.py +++ b/subdownloader/provider/opensubtitles.py @@ -309,7 +309,7 @@ class OpenSubtitlesTextQuery(SubtitleTextQuery): xml_url = 'http://www.ope...
opensubtitles: Do not use private member of parent class
subdownloader_subdownloader
train
d8497ea596cf488d4a7774c789bf01152567d334
diff --git a/bin/traceur.js b/bin/traceur.js index <HASH>..<HASH> 100644 --- a/bin/traceur.js +++ b/bin/traceur.js @@ -13129,7 +13129,7 @@ var $__src_codegeneration_PlaceholderParser_js = (function() { transformSetAccessor: function(tree) { var value = this.getValue_(tree.name.value); if (value...
Fix missing param to createSetAccessor
google_traceur-compiler
train
df2e3c764cf8f8d42d251dfd20a6d75e82f7e816
diff --git a/py/test/selenium/webdriver/common/frame_switching_tests.py b/py/test/selenium/webdriver/common/frame_switching_tests.py index <HASH>..<HASH> 100644 --- a/py/test/selenium/webdriver/common/frame_switching_tests.py +++ b/py/test/selenium/webdriver/common/frame_switching_tests.py @@ -186,7 +186,6 @@ class Tes...
[py] Remove two Firefox ignores from TestFrameSwitching
SeleniumHQ_selenium
train
35e7876f094a93f4f455743c2dc707f82ac4b58b
diff --git a/framework/core/js/src/forum/components/NotificationList.js b/framework/core/js/src/forum/components/NotificationList.js index <HASH>..<HASH> 100644 --- a/framework/core/js/src/forum/components/NotificationList.js +++ b/framework/core/js/src/forum/components/NotificationList.js @@ -114,11 +114,13 @@ export ...
NotificationList: Fix load on mobile Followup to <URL> 0, this means that new pages of notifications were loaded on every scroll, which quickly becomes overwhelming. Instead, we can use `document.documentElement` for getting scrollTop, which results in the expected behavior.
flarum_core
train
5cb55f0b637c231d73a96fc5c42b4ee02441e916
diff --git a/awsclpy/awsclpy.py b/awsclpy/awsclpy.py index <HASH>..<HASH> 100644 --- a/awsclpy/awsclpy.py +++ b/awsclpy/awsclpy.py @@ -4,11 +4,15 @@ from subprocess import Popen, PIPE from datetime import datetime from _utils import log, flatten import json +import os class AWSCLPy(object): def __init__(self...
Added support for AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_DEFAULT_REGION environment variables
hamidnazari_awsclpy
train
29ef1ea1e1e8a472f803269dee845aba56167a3c
diff --git a/spec/rack/app_spec.rb b/spec/rack/app_spec.rb index <HASH>..<HASH> 100644 --- a/spec/rack/app_spec.rb +++ b/spec/rack/app_spec.rb @@ -480,13 +480,17 @@ describe Rack::App do end end + get '/before_middlewares' do + request.env['custom'] + end + middleware do |build...
docs: add more specification for middleware use
rack-app_rack-app
train
ea0ac31c180d668a8f0fd17977c2f775f921435d
diff --git a/src/Functions/ExtendedOperations/ValidityFunctions.php b/src/Functions/ExtendedOperations/ValidityFunctions.php index <HASH>..<HASH> 100644 --- a/src/Functions/ExtendedOperations/ValidityFunctions.php +++ b/src/Functions/ExtendedOperations/ValidityFunctions.php @@ -1,15 +1,5 @@ <?php -/* - * This file i...
Update ValidityFunctions.php
vox-tecnologia_functions
train
4f70e33b3e6bf6f5eeb90a9247459ab8d25c9979
diff --git a/polyaxon/db/models/tensorboards.py b/polyaxon/db/models/tensorboards.py index <HASH>..<HASH> 100644 --- a/polyaxon/db/models/tensorboards.py +++ b/polyaxon/db/models/tensorboards.py @@ -77,7 +77,7 @@ class TensorboardJob(PluginJobBase, JobMixin): tensorboard_path = '{}:{}'.format( ...
Fix tensorboard store management
polyaxon_polyaxon
train
e83287fd2dfc8ea7883985b0fdc27984c4bd5fd2
diff --git a/code/SiteTreeSubsites.php b/code/SiteTreeSubsites.php index <HASH>..<HASH> 100644 --- a/code/SiteTreeSubsites.php +++ b/code/SiteTreeSubsites.php @@ -224,7 +224,10 @@ class SiteTreeSubsites extends DataObjectDecorator { // Generate the existing absolute URL and replace the domain with the subsite domain...
BUGFIX: Set absolute domain of 'main site' properly. (from r<I>)
silverstripe_silverstripe-subsites
train
a1968f03e7c57f69163459625ca168add4c4822c
diff --git a/flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBStateBackend.java b/flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBStateBackend.java index <HASH>..<HASH> 100644 --- a/flink-contrib/flink-stateback...
[FLINK-<I>] Remove Testing Files in RocksDB Backend We create random files on initialization to check whether we can write to the data directory. These files are also removed now.
apache_flink
train
ee690ae08b17073a89a4f30397413706bc99beba
diff --git a/lib/lyp/cli.rb b/lib/lyp/cli.rb index <HASH>..<HASH> 100644 --- a/lib/lyp/cli.rb +++ b/lib/lyp/cli.rb @@ -288,6 +288,15 @@ class Lyp::CLI < Thor end end + desc "cleanup", "Cleanup temporary files" + def cleanup + $stderr.puts "Lyp #{Lyp::VERSION}" + Dir["#{Lyp::TMP_ROOT}/*"].each do |fn| ...
Add cleanup command to cleanup tmp files
noteflakes_lyp
train
2ccd8ffe7824a3b21d5301d196a66117f19c543a
diff --git a/numdifftools/multicomplex.py b/numdifftools/multicomplex.py index <HASH>..<HASH> 100644 --- a/numdifftools/multicomplex.py +++ b/numdifftools/multicomplex.py @@ -33,22 +33,22 @@ import numpy as np _TINY = np.finfo(float).machar.tiny -# def c_atan2(x, y): -# a, b = np.real(x), np.imag(x) -# c, ...
Readded c_abs c_atan2
pbrod_numdifftools
train
bc17a5bdeae081c2f5e3315655fd37a1338221a6
diff --git a/detox/src/devices/simulator.js b/detox/src/devices/simulator.js index <HASH>..<HASH> 100644 --- a/detox/src/devices/simulator.js +++ b/detox/src/devices/simulator.js @@ -205,7 +205,7 @@ class Simulator extends Device { this._executeSimulatorCommand(options, (err2, stdout, stderr) => { if (t...
fixed issues post simulator.js refactor
wix_Detox
train
d58af6c17b8b8991ea09df675df5c9e58f025143
diff --git a/PBB_Core.py b/PBB_Core.py index <HASH>..<HASH> 100755 --- a/PBB_Core.py +++ b/PBB_Core.py @@ -376,7 +376,8 @@ class WDItemEngine(object): elif not value_is_item: value = claims[wd_property][x]['mainsnak']['datavalue']['value'] - if value no...
passing an empty list for a property in the constructor of PBB core will now delete the whole claim.
SuLab_WikidataIntegrator
train
073ee36246769cf536d0b88e5ab9dd72f4225d02
diff --git a/src/com/google/javascript/rhino/testing/TestErrorReporter.java b/src/com/google/javascript/rhino/testing/TestErrorReporter.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/rhino/testing/TestErrorReporter.java +++ b/src/com/google/javascript/rhino/testing/TestErrorReporter.java @@ -42,7 +42,...
Fix TestErrorReporter to no longer give misleading assertion failures. Currently when a warning is expected but not produced, it fails with "Not true that [my expected warning] has length 0" which is very confusing. This changes it to fail with "missing warnings: [my expected warning]". ------------- Created by MOE: ...
google_closure-compiler
train
7e3bd5357b850f8899ac2e0ffbd2af9df20f7b39
diff --git a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverConnection.java b/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverConnection.java index <HASH>..<HASH> 100644 --- a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DriverConnection.java +++ b/aeron-driver/src/main/java/u...
[Java]: revert change to reduce scans that also has the unfortunate side effect of not allowing LossHandler to rotate terms.
real-logic_aeron
train
85db6eb0e5b4534fef2dbe854bad2e640e2f343d
diff --git a/client/decorators/UMLStateMachineDecorator/PartBrowser/UMLStateMachineDecorator.PartBrowserWidget.js b/client/decorators/UMLStateMachineDecorator/PartBrowser/UMLStateMachineDecorator.PartBrowserWidget.js index <HASH>..<HASH> 100644 --- a/client/decorators/UMLStateMachineDecorator/PartBrowser/UMLStateMachin...
name position fix for Initial and End states Former-commit-id: d<I>f7dae<I>c<I>a<I>b<I>cf0ec8d2c<I>c<I>
webgme_webgme-engine
train
2ec62e67ddf645180ee4a6238099e6f9d0fb3cc4
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -233,9 +233,13 @@ class Picidae extends EventEmitter { let transformers = this.opts.transformers.slice() transformers = [nps.join(__dirname, 'transformers', 'img-loader')].concat(transformer...
fix: recursive transformer exports.use
picidaejs_picidaejs
train
617a25432629c5b958a48df490235c4f8e73eaaa
diff --git a/core/CronArchive.php b/core/CronArchive.php index <HASH>..<HASH> 100644 --- a/core/CronArchive.php +++ b/core/CronArchive.php @@ -981,7 +981,7 @@ class CronArchive $request = new Request($url); $request->before(function () use ($self, $url, $idSite, $period, $date) { ...
Fix test failue: climulti result now returns Request instances not strings.
matomo-org_matomo
train
1c08c6e58075a0c7017253c6217be5b6c5629807
diff --git a/lib/turbine.rb b/lib/turbine.rb index <HASH>..<HASH> 100644 --- a/lib/turbine.rb +++ b/lib/turbine.rb @@ -1,8 +1,8 @@ require 'set' # On with the library... -require 'turbine/edge' -require 'turbine/errors' -require 'turbine/graph' -require 'turbine/version' -require 'turbine/vertex' +require_relative ...
using require_relative in order to use Pry/Irb
quintel_turbine
train
7a6b7907d07aac3f39f07e70ba0bc33640fab05b
diff --git a/non-schema/java/src/org/whattf/checker/schematronequiv/Assertions.java b/non-schema/java/src/org/whattf/checker/schematronequiv/Assertions.java index <HASH>..<HASH> 100644 --- a/non-schema/java/src/org/whattf/checker/schematronequiv/Assertions.java +++ b/non-schema/java/src/org/whattf/checker/schematronequ...
Added experimental warning about empty headings.
validator_validator
train
6a79f7edbf80d3b8f333777a3734eb591262315a
diff --git a/hpcbench/campaign.py b/hpcbench/campaign.py index <HASH>..<HASH> 100644 --- a/hpcbench/campaign.py +++ b/hpcbench/campaign.py @@ -86,8 +86,16 @@ def get_metrics(campaign): :return: metrics :rtype: dictionary generator """ - for _, host_driver in campaign.traverse(): - for _, tag_dr...
Add campaign fields to Elasticsearch documents Additional string fields: * hostname * tag * category * test-suite
BlueBrain_hpcbench
train
8e5da80e3cbe547600c6285312909e3fd6364a29
diff --git a/lib/algebrick.rb b/lib/algebrick.rb index <HASH>..<HASH> 100644 --- a/lib/algebrick.rb +++ b/lib/algebrick.rb @@ -559,6 +559,8 @@ module Algebrick alias_method :>>, :- + raise 'remove deprecation' if Algebrick.version >= Gem::Version.new('0.2') + def +(block) warn 'a_matcher...
Raise if deprecation is not removed
pitr-ch_algebrick
train
e73b0fd317755a2bbf51d621b5525c9bc8ee8688
diff --git a/lib/Str.js b/lib/Str.js index <HASH>..<HASH> 100644 --- a/lib/Str.js +++ b/lib/Str.js @@ -11,7 +11,7 @@ import constructors from './constants/constructors'; import regexpSpecialCharacters from './constants/regexpSpecialCharacters'; import { isDateLike, isFunction, isNumberLike, isObject, isString, - ...
Str: get rid of for..in.
dwaynejs_dwayne
train
4c0783dd6acc5ffd0170d0832213d93efc859e30
diff --git a/atlasapi/atlas.py b/atlasapi/atlas.py index <HASH>..<HASH> 100644 --- a/atlasapi/atlas.py +++ b/atlasapi/atlas.py @@ -35,7 +35,7 @@ from atlasapi.measurements import AtlasMeasurementTypes, AtlasMeasurementValue, from atlasapi.events import atlas_event_factory, ListOfEvents import logging from pprint im...
#<I> BUGFIX Added setup
mickybart_python-atlasapi
train
af93825856da16d22ddaad261bc7418e80fa6298
diff --git a/.eslintignore b/.eslintignore index <HASH>..<HASH> 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,3 +4,4 @@ src/test/utils.js *.test.js example/ flow-typed/**/*.js +lib/ diff --git a/native.js b/native.js index <HASH>..<HASH> 100644 --- a/native.js +++ b/native.js @@ -1 +1,2 @@ +/* eslint-disable ...
Fix lint errors from new rules
styled-components_styled-components
train
6bc89bbd7299786636e8ad0e2357aeee2b764a69
diff --git a/twitter4j-stream/src/main/java/twitter4j/FilterQuery.java b/twitter4j-stream/src/main/java/twitter4j/FilterQuery.java index <HASH>..<HASH> 100644 --- a/twitter4j-stream/src/main/java/twitter4j/FilterQuery.java +++ b/twitter4j-stream/src/main/java/twitter4j/FilterQuery.java @@ -30,6 +30,7 @@ public final cl...
add filter_level to FilterQuery
Twitter4J_Twitter4J
train
1cde591351d9fd40da940d275854553966925ac3
diff --git a/libraries/lithium/data/Model.php b/libraries/lithium/data/Model.php index <HASH>..<HASH> 100755 --- a/libraries/lithium/data/Model.php +++ b/libraries/lithium/data/Model.php @@ -443,7 +443,7 @@ class Model extends \lithium\core\StaticObject { $type = 'first'; } - $options += ((array) $self->_quer...
Ensuring `MongoDb::create()` uses the correct data export procedure.
UnionOfRAD_framework
train
7b5f02dc7c59f3a215ae97d2bd29691f294fca44
diff --git a/app/models/changeset.rb b/app/models/changeset.rb index <HASH>..<HASH> 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -305,11 +305,11 @@ class Changeset < ActiveRecord::Base rescue Exception => e self.state = Changeset::FAILED self.save! - - error_text = _("Promotion ...
Changed the notice on promote_contents. Pulp time out exceptions turn out to be humungous to be pasted on the users browser Sometimes > <I> chars . This would end up being bigger than the max column lenght of the NOtices object changed the message to something more useful.
Katello_katello
train
aab3ebe09ab279da14a9778b37f112423af95b91
diff --git a/lib/chore/queues/filesystem/consumer.rb b/lib/chore/queues/filesystem/consumer.rb index <HASH>..<HASH> 100644 --- a/lib/chore/queues/filesystem/consumer.rb +++ b/lib/chore/queues/filesystem/consumer.rb @@ -35,27 +35,32 @@ module Chore end end + # Moves job file to inprogr...
Only lock files when moving them into the inprogress directory; once they're there no one else will be modifying them
Tapjoy_chore
train
e207b67888ae2aa039fead9243b6a87205b4f005
diff --git a/src/Rvdv/Nntp/Client.php b/src/Rvdv/Nntp/Client.php index <HASH>..<HASH> 100644 --- a/src/Rvdv/Nntp/Client.php +++ b/src/Rvdv/Nntp/Client.php @@ -16,7 +16,7 @@ class Client implements ClientInterface public static function create() { - $client = new self(); + $client = new static(...
Return new static for better extendability.
robinvdvleuten_php-nntp
train
02b573a03c034671b984bc3407f03ebe8d0329ce
diff --git a/lib/metasploit/model/version.rb b/lib/metasploit/model/version.rb index <HASH>..<HASH> 100644 --- a/lib/metasploit/model/version.rb +++ b/lib/metasploit/model/version.rb @@ -1,5 +1,9 @@ module Metasploit module Model - VERSION = "0.0.1" + # Metasploit::Model follows the {http://semver.org/ Seman...
Add version docs [#<I>]
rapid7_metasploit-model
train
93d22242478eeee3326c2a91f12eda91b0f264a0
diff --git a/assets/src/RubotoActivity.java b/assets/src/RubotoActivity.java index <HASH>..<HASH> 100644 --- a/assets/src/RubotoActivity.java +++ b/assets/src/RubotoActivity.java @@ -114,7 +114,7 @@ THE_CONSTANTS JRubyAdapter.put("$java_instance", this); ...
* Use getName() to find the class name instead of relying on toString().
ruboto_ruboto
train
d237c66c600e28546f92320f5b92db89947ffe77
diff --git a/src/app/Commands/ResetStorage.php b/src/app/Commands/ResetStorage.php index <HASH>..<HASH> 100644 --- a/src/app/Commands/ResetStorage.php +++ b/src/app/Commands/ResetStorage.php @@ -9,6 +9,7 @@ class ResetStorage extends Command { private const Folders = ['avatars', 'exports', 'files', 'howToVideos',...
adds rejected imports folders to reset-storage; updates command signature to enso:storage:reset
laravel-enso_Core
train
105942d0b1b3be9da38dbffffa055869958fb843
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -1,6 +1,8 @@ package gode import ( + "io/ioutil" + "os" "path/filepath" "runtime" ) @@ -71,3 +73,16 @@ func (c *Client) npmURL() string { func (c *Client) npmPath() string { return filepath.Join(c.RootPath, c.N...
use temp directories while downloading node
jdxcode_gode
train
79aa105dea161455a765216d28b54ca9da0073df
diff --git a/src/utils/color.js b/src/utils/color.js index <HASH>..<HASH> 100644 --- a/src/utils/color.js +++ b/src/utils/color.js @@ -306,8 +306,11 @@ * @return {me.Color} Reference to this object for method chaining */ parseHex : function(h) { - // remove the # - h = h.substring(1, h.length); + + ...
[#<I>] fixed an issue when applying the TMX `trans` property
melonjs_melonJS
train
9d255f118a6a39d297856fa83302aca1577b2c03
diff --git a/lib/webmock/rspec.rb b/lib/webmock/rspec.rb index <HASH>..<HASH> 100644 --- a/lib/webmock/rspec.rb +++ b/lib/webmock/rspec.rb @@ -1,14 +1,15 @@ require 'webmock' # RSpec 1.x and 2.x compatibility -if defined?(RSpec) +if defined?(RSpec) && defined?(RSpec::Expectations) RSPEC_NAMESPACE = RSPEC_CONFIGU...
Fixed issue with `webmock/rspec` which didn't load correctly if `rspec/core` was already required but `rspec/expectations` not.
bblimke_webmock
train
2ca9b6dfab81c17bdad7d367c97e39c9ac25c075
diff --git a/activerecord/lib/active_record/relation/batches.rb b/activerecord/lib/active_record/relation/batches.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/relation/batches.rb +++ b/activerecord/lib/active_record/relation/batches.rb @@ -20,8 +20,6 @@ module ActiveRecord find_in_batches(...
Make `ActiveRecord::Batches#find_each` to not return `self`. This caused that `find_each` was producing extra db call taking all the records from db, and was less efficient than `ActiveRecord::Base#all`.
rails_rails
train
a8930252948ece4383aab7b11736aef07fffe635
diff --git a/dwave/cloud/cli.py b/dwave/cloud/cli.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/cli.py +++ b/dwave/cloud/cli.py @@ -7,7 +7,7 @@ from timeit import default_timer as timer from dwave.cloud import Client from dwave.cloud.utils import ( - readline_input, click_info_switch, generate_valid_random_pr...
CLI: switch to simple default prompt (from editable) readline required to editable mode does not work reliably on Win/MacOS. We'll rather use a simpler, but better supported method.
dwavesystems_dwave-cloud-client
train
2626f9cff19308bafdcf3194ce205da2cc3fd507
diff --git a/core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/DeleteTenant.java b/core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/DeleteTenant.java index <HASH>..<HASH> 100644 --- a/core/metrics-core-service/src/main/java/org/hawkular/metrics/core/jobs/DeleteTenant.java +++ ...
[HWKMETRICS-<I>] refactor deletion to use partition deletes
hawkular_hawkular-metrics
train
cc1424cdade789e823e7beea09ea81273b2fd5ed
diff --git a/test/Image2.rb b/test/Image2.rb index <HASH>..<HASH> 100644 --- a/test/Image2.rb +++ b/test/Image2.rb @@ -12,6 +12,8 @@ class Image2_UT < Test::Unit::TestCase def test_composite img1 = Magick::Image.read(IMAGES_DIR + '/Button_0.gif').first img2 = Magick::Image.read(IMAGES_DIR + '/Button_1.gif'...
Define compose:arg to silence warnings during testing. (#<I>) * Define compose:arg to silence warnings during testing. * Fixed rubocop warnings.
rmagick_rmagick
train
a6145b931a7c670044e75f1bda2c468e90fcd52d
diff --git a/app/models/viewable.rb b/app/models/viewable.rb index <HASH>..<HASH> 100644 --- a/app/models/viewable.rb +++ b/app/models/viewable.rb @@ -42,14 +42,6 @@ module Viewable def viewable_type name end - - def dashed_name - @_dashed_name ||= underscored_name.dasherize - end - - def...
moved dashed_name method into the presenter
o2web_rails_admin_cms
train
a7f76d74b8ddb98eb9354db2dc4f5f379398008e
diff --git a/asphalt/core/context.py b/asphalt/core/context.py index <HASH>..<HASH> 100644 --- a/asphalt/core/context.py +++ b/asphalt/core/context.py @@ -623,8 +623,7 @@ def context_teardown(func: Callable): try: await generator.asend(None) except StopAsyncIteration: - raise R...
Removed the requirement to yield at least once with @context_teardown
asphalt-framework_asphalt
train
7d74b164ea674e81315ab17e35cd05afa7e2cb49
diff --git a/dist/index.js b/dist/index.js index <HASH>..<HASH> 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26403,8 +26403,18 @@ return /******/ (function(modules) { // webpackBootstrap _createClass(Field, [{ key: 'createField', value: function createField(control, props) { + var _this2 = t...
Fixing xor and deep recursion for field component
davidkpiano_react-redux-form
train
a94c3128344fd2e990a97f330a7025af18eab6eb
diff --git a/library/CM/Model/User.php b/library/CM/Model/User.php index <HASH>..<HASH> 100644 --- a/library/CM/Model/User.php +++ b/library/CM/Model/User.php @@ -215,6 +215,18 @@ class CM_Model_User extends CM_Model_Abstract { /** * @param int $id + * @return CM_Model_User|null + */ + public static function f...
add CM_Model_User::findById()
cargomedia_cm
train
195386658819e772d0c1165b601e8f14aacd67d7
diff --git a/src/FileSystem/FileSystem.php b/src/FileSystem/FileSystem.php index <HASH>..<HASH> 100644 --- a/src/FileSystem/FileSystem.php +++ b/src/FileSystem/FileSystem.php @@ -21,7 +21,12 @@ final class FileSystem implements FileSystemInterface */ public function getContents($path) { - $result...
Attempted to fix getContents() and putContents() from exception on 0 byte write
PiPHP_GPIO
train
6bd0ec2ef55022fbcd199a5dc56bc23ba5ff475d
diff --git a/.eslintrc b/.eslintrc index <HASH>..<HASH> 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,7 +1,11 @@ { "env": { "mocha": true, - es6: true + "es6": true + }, + "parserOptions": { + "ecmaVersion": 2018, + "sourceType": "module" }, "extends": ["mongodb-js/node"] } diff --git a/lib...
COMPASS-<I>: Use proper password for ssh (#<I>) * fix: use proper password for ssh * test: remove slow and timeout * Use clone deep to ensure driver options remain unchanged after ssh tunnel injection
mongodb-js_connection-model
train
debeb14983bad005a118a4c16f4b9ec3c464971f
diff --git a/SensioLabs/Security/SecurityChecker.php b/SensioLabs/Security/SecurityChecker.php index <HASH>..<HASH> 100644 --- a/SensioLabs/Security/SecurityChecker.php +++ b/SensioLabs/Security/SecurityChecker.php @@ -28,6 +28,8 @@ class SecurityChecker if (is_dir($lock) && file_exists($lock.'/composer.lock...
Replace composer.json by composer.lock to prevent typo
sensiolabs_security-checker
train
f1c24d0009dc6b06b03b0b55f867ac9313e56145
diff --git a/lib/melodiest.rb b/lib/melodiest.rb index <HASH>..<HASH> 100644 --- a/lib/melodiest.rb +++ b/lib/melodiest.rb @@ -1,10 +1,16 @@ require 'sinatra' require 'sinatra/config_file' +require 'sinatra/reloader' require 'melodiest/setting' module Melodiest class Application < Sinatra::Application ext...
add Sinatra::Reloader extension in development environment
kuntoaji_sinator
train
07173c047c293ee566ff70c96633d24b19046ace
diff --git a/state/api/deployer/deployer.go b/state/api/deployer/deployer.go index <HASH>..<HASH> 100644 --- a/state/api/deployer/deployer.go +++ b/state/api/deployer/deployer.go @@ -18,7 +18,7 @@ type State struct { // NewState creates a new State instance that makes API calls // through the given caller. func NewS...
Implemented Addresses, APIAddresses and CACert client-side
juju_juju
train
1860a3c015651b961be234bb9646040c2b8a9ee7
diff --git a/satpy/readers/ahi_hsd.py b/satpy/readers/ahi_hsd.py index <HASH>..<HASH> 100644 --- a/satpy/readers/ahi_hsd.py +++ b/satpy/readers/ahi_hsd.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (c) 2014, 2015, 2016 Adam.Dybbroe +# Copyright (c) 2014-2018 PyTroll developers # A...
Bugfix: Fix so the Himawari platform name is a string and not a numpy array
pytroll_satpy
train
c955852d7ba51d60e04990e7bdecc09e0612d573
diff --git a/pdclient/const.go b/pdclient/const.go index <HASH>..<HASH> 100644 --- a/pdclient/const.go +++ b/pdclient/const.go @@ -7,6 +7,9 @@ var ( //dispenser call ErrInvalidDispenserResponse = errors.New("invalid dispenser response statuscode") + //ErrInvalidInnKeeperData - error for invalid data object respon...
[#<I>] fixing empty data panic bug the dispenser client would panic if it could not find a data array with elements. this is now more gracefully handled w/ proper error returned
pivotal-pez_pezdispenser
train
2db55032c430996fd30c105cceb034a1c51a61c8
diff --git a/dvc/objects/file.py b/dvc/objects/file.py index <HASH>..<HASH> 100644 --- a/dvc/objects/file.py +++ b/dvc/objects/file.py @@ -51,7 +51,3 @@ class HashFile: assert actual.name == self.hash_info.name if actual.value.split(".")[0] != self.hash_info.value.split(".")[0]: raise Obj...
objects: file: remove unused load() method (#<I>)
iterative_dvc
train
08aa480ba22f222f555bf576966c266ecc005e8f
diff --git a/satpy/writers/cf_writer.py b/satpy/writers/cf_writer.py index <HASH>..<HASH> 100644 --- a/satpy/writers/cf_writer.py +++ b/satpy/writers/cf_writer.py @@ -274,7 +274,7 @@ def link_coords(datas): `xr.Dataset.to_netcdf()` all coordinate relations will be resolved and the `coordinates` attributes be set ...
Warn if coordinate references cannot be resolved
pytroll_satpy
train
b1ae0128520dc8aa7e9483979396093e94dfd6f9
diff --git a/tests/unit/states/test_network.py b/tests/unit/states/test_network.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/test_network.py +++ b/tests/unit/states/test_network.py @@ -118,13 +118,6 @@ class NetworkTestCase(TestCase, LoaderModuleMockMixin): ...
Remove unnecessary additional assert It looks like this was just written to assert the output of a failed call to `ip.down`, which raises a KeyError at this point of the test because it is not within the `with` block in which this function is mocked.
saltstack_salt
train
4d3369e364935cf3d2ee41c26dcb57903e61f721
diff --git a/hug/interface.py b/hug/interface.py index <HASH>..<HASH> 100644 --- a/hug/interface.py +++ b/hug/interface.py @@ -641,7 +641,10 @@ class HTTP(Interface): def __call__(self, request, response, api_version=None, **kwargs): """Call the wrapped function over HTTP pulling information as needed""...
Ensure that api_version is a number
hugapi_hug
train
d60bf46e5983db00a0556ca3c578dca7a3a59f68
diff --git a/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py b/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py +++ b/src/ossos-pipeline/ossos/fitsviewer/singletviewer.py @@ -34,9 +34,17 @@ class SingletViewer(WxMPLFitsViewe...
Added back markers for singlets, implemented in the fitsviewer.
OSSOS_MOP
train
af64b4256524ec4f250317e3710331d6688df2b2
diff --git a/constants.php b/constants.php index <HASH>..<HASH> 100644 --- a/constants.php +++ b/constants.php @@ -27,7 +27,7 @@ if (!defined('__SAMSON_DEV_VENDOR_PATH')) { /** SamsonPHP copyright */ if (!defined('__SAMSON_COPYRIGHT')) { - define('__SAMSON_COPYRIGHT', '<!-- This site is working under SamsonPHP f...
Fixed SamsonPHP copyright link in html comments
samsonos_php_core
train
5504121f5df8cdd7e2f80677909057b8a431b187
diff --git a/lib/capybara/selector.rb b/lib/capybara/selector.rb index <HASH>..<HASH> 100644 --- a/lib/capybara/selector.rb +++ b/lib/capybara/selector.rb @@ -457,8 +457,6 @@ Capybara.add_selector(:table, locator_type: [String, Symbol]) do end expression_filter(:with_cols, valid_values: [Array]) do |xpath, cols...
Add require all :rows expression filter
teamcapybara_capybara
train
4b67c457bb97ad885848926d8f4021d9fcab2d47
diff --git a/nni/experiment/config/exp_config.py b/nni/experiment/config/exp_config.py index <HASH>..<HASH> 100644 --- a/nni/experiment/config/exp_config.py +++ b/nni/experiment/config/exp_config.py @@ -89,7 +89,7 @@ class ExperimentConfig(ConfigBase): for algo_type in ['tuner', 'assessor', 'advisor']: ...
Fix backward incompatible config behavior (#<I>)
Microsoft_nni
train
e8c8c0a45ea147f456e3b1ac612eeb6856bf8eaa
diff --git a/jmetal-core/src/main/java/org/uma/jmetal/qualityindicator/impl/R2.java b/jmetal-core/src/main/java/org/uma/jmetal/qualityindicator/impl/R2.java index <HASH>..<HASH> 100644 --- a/jmetal-core/src/main/java/org/uma/jmetal/qualityindicator/impl/R2.java +++ b/jmetal-core/src/main/java/org/uma/jmetal/qualityindi...
Move code for readability. Detailed constructors are kept close to each other, which makes it easy to see the differences.
jMetal_jMetal
train
8d0d3aa02c40e323faf3bbfeef3cd71647efc7a1
diff --git a/src/Router.js b/src/Router.js index <HASH>..<HASH> 100644 --- a/src/Router.js +++ b/src/Router.js @@ -235,9 +235,7 @@ function Router(declarativeStates) { assertPathUniqueness(stateArray); - // Only leaf states can be transitioned to. - leafStates = {}; - registerLeafStates(stateArray); +...
Quick refactoring: Less side effect
AlexGalays_abyssa-js
train
a6ff7eb2dbcd808af0a6fbd7305b288f21360504
diff --git a/src/com/google/javascript/jscomp/CheckSideEffects.java b/src/com/google/javascript/jscomp/CheckSideEffects.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/CheckSideEffects.java +++ b/src/com/google/javascript/jscomp/CheckSideEffects.java @@ -22,8 +22,9 @@ import com.google.javascrip...
Switch Map to Set because we're not using the values. ------------- Created by MOE: <URL>
google_closure-compiler
train
ddbe025b403fbb1d538ae9d942e5618df531486b
diff --git a/src/data/Facet.js b/src/data/Facet.js index <HASH>..<HASH> 100644 --- a/src/data/Facet.js +++ b/src/data/Facet.js @@ -14,6 +14,7 @@ import {map} from 'd3-collection'; export default function Facet(params) { Transform.call(this, map(), params); this._keys = {}; // cache previously calculated key valu...
Facet should pass index to subflow.
vega_vega-dataflow
train
2c8c6f2cf7bbdcc0b7bbbcd2cb6ff87561f40790
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,9 @@ coffee_files = [ 'variable.coffee', 'function.coffee', 'field.coffee', + 'method.coffee', 'constructor.coffee', + 'destructor.coffee', 'base.coffee', 'subclass.coffee', '...
Added method and destructor to setup.py
jessevdk_cldoc
train
f5b20ea3177450cb9a3d4267c29a3a1e94d54c2c
diff --git a/calendar/lib.php b/calendar/lib.php index <HASH>..<HASH> 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -2695,7 +2695,7 @@ function calendar_get_eventtype_choices($courseid) { $choices[0] = get_string('userevents', 'calendar'); } if ($allowed->site) { - $choices[SITEID] =...
MDL-<I> calendar: The type of event should be named site not global for consistencies
moodle_moodle
train
b39dc2914f2b6c99057fe236d805abbf91803790
diff --git a/spyderlib/widgets/qteditor/qteditor.py b/spyderlib/widgets/qteditor/qteditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/qteditor/qteditor.py +++ b/spyderlib/widgets/qteditor/qteditor.py @@ -19,12 +19,14 @@ Editor widget based on PyQt4.QtGui.QPlainTextEdit # pylint: disable-msg=R0911 # pylint...
qteditor: added Scrollbar flag area
spyder-ide_spyder
train
2b8eee86af61d3dbcc6a0e111533e0fa9cd732a2
diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/listener/SourceHandler.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/listener/SourceHandler.java index <HASH>..<HASH> 100644 --- a/components/org.wso2.transport.http.netty/src/...
Handle warnings printed from http handlers for http2 upgrade event
wso2_transport-http
train
bb5b6ea170fe91ee0df95946e09da055b70bfdb0
diff --git a/tinymce/urls.py b/tinymce/urls.py index <HASH>..<HASH> 100644 --- a/tinymce/urls.py +++ b/tinymce/urls.py @@ -1,6 +1,7 @@ from django.conf.urls.defaults import * urlpatterns = patterns('', - url(r'^js/textareas/(?P<name>.+)/(?P<lang>.*)$', 'tinymce.views.textareas_js', name='tinymce-js'), + url(r...
* Commented-out language setting view. * Fixed inverted login in language selection.
aljosa_django-tinymce
train
068348a64855562f6ff9d27fddc9e6aac5cf207a
diff --git a/tests/Whoops/Exception/InspectorTest.php b/tests/Whoops/Exception/InspectorTest.php index <HASH>..<HASH> 100644 --- a/tests/Whoops/Exception/InspectorTest.php +++ b/tests/Whoops/Exception/InspectorTest.php @@ -45,6 +45,19 @@ class InspectorTest extends TestCase } /** + * @covers Whoops\Exce...
Add unit test, fails on PHP7 if Inspector::getTrace() requires Exception instead of also allowing Error
vinala_whoops
train
5841ffac39df1ee5ae8b2db34df7234ea8927948
diff --git a/client/hotrod-client/src/test/java/org/infinispan/client/hotrod/query/RemoteQueryDslConditionsTest.java b/client/hotrod-client/src/test/java/org/infinispan/client/hotrod/query/RemoteQueryDslConditionsTest.java index <HASH>..<HASH> 100644 --- a/client/hotrod-client/src/test/java/org/infinispan/client/hotrod...
ISPN-<I> RemoteQueryDslConditionsTest.testIsNullNumericWithProjection1no longer fails with current Lucene version
infinispan_infinispan
train
2d2882638cc95d8372f074bed0c2d803d99b50e2
diff --git a/src/Plugin.php b/src/Plugin.php index <HASH>..<HASH> 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -206,7 +206,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface } } - exit($exitCode); + return $exitCode; } /**
Bugfix: Composer broken in <I> update After the <I> update, Composer's `scripts/post-install-cmd` and `scripts/post-update-cmd` were no longer running. This was due to PHP _exiting_ outright rather than _returning_ the `$exitCode`.
Dealerdirect_phpcodesniffer-composer-installer
train
07ee307d6184e929c2e5e298ef6fca02caaa749d
diff --git a/tools/filetools.go b/tools/filetools.go index <HASH>..<HASH> 100644 --- a/tools/filetools.go +++ b/tools/filetools.go @@ -264,7 +264,7 @@ func fastWalkFromRoot(dir string, excludeFilename string, // This waitgroup will be incremented for each nested goroutine var waitg sync.WaitGroup - fastWalkItem(f...
PR feedback: better name/doc for fastWalkItem
git-lfs_git-lfs
train
6fe85035ba85a478b4adc9c3c8a39996cd8e26c6
diff --git a/com/jetbrains/teamsys/dnq/database/TransientSessionImpl.java b/com/jetbrains/teamsys/dnq/database/TransientSessionImpl.java index <HASH>..<HASH> 100644 --- a/com/jetbrains/teamsys/dnq/database/TransientSessionImpl.java +++ b/com/jetbrains/teamsys/dnq/database/TransientSessionImpl.java @@ -940,16 +940,17 @@...
WD-<I> revert incorrect merged changes; take into account that persistentSession.getEntity may throw ERIDE
JetBrains_xodus-dnq
train
c1661dd53e2f8d18651f646011b3076e822298c7
diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -262,15 +262,19 @@ class ClassMetadataFactory $cl...
DDC-<I> - MappedSuperclasses specifications of inheritance mapping details make no sense and are ignored
doctrine_orm
train
f4200b0cd5c21d7bd37a9b5c9effc2006485ed46
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/a...
Cache instrumenter again as per Aaron's patch.
rails_rails
train
ce0e2a3e3aa300644b9da2e87581a9266e595593
diff --git a/src/calmjs/parse/tests/test_es5_unparser.py b/src/calmjs/parse/tests/test_es5_unparser.py index <HASH>..<HASH> 100644 --- a/src/calmjs/parse/tests/test_es5_unparser.py +++ b/src/calmjs/parse/tests/test_es5_unparser.py @@ -2129,6 +2129,23 @@ MinifyPrintTestCase = build_equality_testcase( "set fullN...
Further minify print test cases - With the relevant corrections to the ES5 unparser definitions.
calmjs_calmjs.parse
train
840ff1e68138ffe845555d68b7f977740df46abd
diff --git a/jarn/mkrelease/confparser.py b/jarn/mkrelease/confparser.py index <HASH>..<HASH> 100644 --- a/jarn/mkrelease/confparser.py +++ b/jarn/mkrelease/confparser.py @@ -12,12 +12,28 @@ class MultipleValueError(Error): pass +class errors2warnings(object): + """Turn ConfigParser.Errors into warnings."""...
Use context manager to turn errors into warnings; also switch off interpolation by default.
Jarn_jarn.mkrelease
train
517c7bb3c944787b85c42ffb6cf0dc2a4aea39ac
diff --git a/maas/client/viscera/pods.py b/maas/client/viscera/pods.py index <HASH>..<HASH> 100644 --- a/maas/client/viscera/pods.py +++ b/maas/client/viscera/pods.py @@ -119,6 +119,9 @@ class Pod(Object, metaclass=PodType): "used", check(dict), check(dict)) total = ObjectField.Checked( "total", ...
Remove pod.update. Add host and default_macvlan_mode to Pod. (#<I>)
maas_python-libmaas
train
72db4a3e1473273ce76fdd7fc201b622e30cd8ab
diff --git a/Entity/QueryBuilderConfig.php b/Entity/QueryBuilderConfig.php index <HASH>..<HASH> 100644 --- a/Entity/QueryBuilderConfig.php +++ b/Entity/QueryBuilderConfig.php @@ -48,7 +48,7 @@ class QueryBuilderConfig extends BaseConfiguration public $allowPrint = true; /** @var boolean Allow print */ - ...
Add order input to sql builder edit form
mapbender_data-source
train
bf38a58df2302a6b8bd4fc72de0f01e285abb8b5
diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -15,8 +15,6 @@ use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class th...
removed comment > <I> characters of configuration
sulu_SuluSalesOrderBundle
train
4e51ea4610a6a5abe5d578366323878f83a2d7eb
diff --git a/lib/share_notify/api_v2.rb b/lib/share_notify/api_v2.rb index <HASH>..<HASH> 100644 --- a/lib/share_notify/api_v2.rb +++ b/lib/share_notify/api_v2.rb @@ -6,7 +6,7 @@ class ShareNotify::ApiV2 attr_reader :headers, :response - base_uri ShareNotify.config.fetch('host', 'https://staging.osf.io') + bas...
Updated delete property and base_uri to work with SHARE version 2 API.(#<I>)
samvera-labs_share_notify
train
6a84c629e9cfb9171e4bca0f250fc4194f4a045a
diff --git a/lib/Timber.php b/lib/Timber.php index <HASH>..<HASH> 100644 --- a/lib/Timber.php +++ b/lib/Timber.php @@ -278,6 +278,7 @@ class Timber { * Compile a Twig file. * * Passes data to a Twig file and returns the output. + * If the template file doesn't exist it will throw a warning when WP_DEBUG is en...
Throws an warning if the twig file doesn't exit
timber_timber
train
f143c78212922603d86aa45fbbfda834687a37d5
diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java index <HASH>..<HASH> 100644 --- a/spring-cloud-netflix-core/src/main/java...
Re-added lost import (what happened Eclipse?)
spring-cloud_spring-cloud-netflix
train
b782e7bcd5c3c49850233541dd25b08acc64d526
diff --git a/sentinelhub/geometry.py b/sentinelhub/geometry.py index <HASH>..<HASH> 100644 --- a/sentinelhub/geometry.py +++ b/sentinelhub/geometry.py @@ -22,6 +22,13 @@ class _BaseGeometry: def __init__(self, crs): self._crs = CRS(crs) + def __getattr__(self, item): + """ Using shapely's svg ...
added shapely visualization in jupyter notebooks
sentinel-hub_sentinelhub-py
train
40839a080a9d4841f048fc0e982494c7ff9f42a9
diff --git a/txn.go b/txn.go index <HASH>..<HASH> 100644 --- a/txn.go +++ b/txn.go @@ -744,6 +744,15 @@ func (txn *Txn) Changes() Changes { // case it's different. Note that m is not a pointer so we are not // modifying the txn.changeSet here - it's already a copy. m.Before = mi.firstBefore + + // Edge ca...
Fix edge cases when inserting and deleting same object in one transaction (#<I>)
hashicorp_go-memdb
train
2625cf5b6a18e4ba5188953736163f633539431b
diff --git a/.rubocop.yml b/.rubocop.yml index <HASH>..<HASH> 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -13,6 +13,9 @@ Metrics/ParameterLists: Max: 4 CountKeywordArgs: true +Metrics/AbcSize: + Enabled: false + Style/AccessModifierIndentation: EnforcedStyle: outdent diff --git a/Gemfile b/Gemfile in...
Update rubocop dependency to >= <I>
tweetstream_tweetstream
train
0c8dca6f9753ddf70226ee0e3835a6c03cf4480a
diff --git a/server/index.js b/server/index.js index <HASH>..<HASH> 100644 --- a/server/index.js +++ b/server/index.js @@ -16,6 +16,19 @@ import { getAvailableChunks } from './utils' import getConfig from './config' // We need to go up one more level since we are in the `dist` directory import pkg from '../../packag...
Warn and exit if React <I> used inside the project. (#<I>) This usually helps when upgrading Next.js.
zeit_next.js
train
a5a16fa24e157a08b3c5bcc6f1dfca9e14d569d2
diff --git a/Serializer/JMSSerializerAdapter.php b/Serializer/JMSSerializerAdapter.php index <HASH>..<HASH> 100644 --- a/Serializer/JMSSerializerAdapter.php +++ b/Serializer/JMSSerializerAdapter.php @@ -75,8 +75,9 @@ class JMSSerializerAdapter implements Serializer $jmsContext = JMSSerializationContext...
Remove the usage of a function in a loop
FriendsOfSymfony_FOSRestBundle
train
558c02364ff536b87a63f2a9dbfba422a85be708
diff --git a/src/Nelmio/Alice/Instances/Fixture.php b/src/Nelmio/Alice/Instances/Fixture.php index <HASH>..<HASH> 100644 --- a/src/Nelmio/Alice/Instances/Fixture.php +++ b/src/Nelmio/Alice/Instances/Fixture.php @@ -32,8 +32,8 @@ class Fixture { public $class; public $name; protected $spec; - public $classFlags; -...
put classFlags and nameFlags on Fixture behind getters
nelmio_alice
train
a5241927a22a1015535d274610f2d0725ee8b155
diff --git a/config.go b/config.go index <HASH>..<HASH> 100644 --- a/config.go +++ b/config.go @@ -135,11 +135,14 @@ type Config struct { Merge MergeDelegate // LogOutput is the writer where logs should be sent. If this is not - // set, logging will go to stderr by default. + // set, logging wil...
Cleaning up comments, adding check for both LogOutput and Logger, test case to ensure an error if both are set
hashicorp_memberlist
train
70107cde69355abf1250217a47b2d24f4c4d874a
diff --git a/src/util.js b/src/util.js index <HASH>..<HASH> 100644 --- a/src/util.js +++ b/src/util.js @@ -13,23 +13,14 @@ const delay = typeof setImmediate === undefined ? fn => setTimeout(fn, 0) : setImmediate; // @see https://gist.github.com/LeverOne/1308368 -function uuid( - a, - b // placeholders -) { +fu...
remove comments from uuid snippet
orourkedd_effects-as-data
train
81b3d2e632c98638e436cdd7c95494f5c4ed286e
diff --git a/juju/client/connection.py b/juju/client/connection.py index <HASH>..<HASH> 100644 --- a/juju/client/connection.py +++ b/juju/client/connection.py @@ -11,6 +11,7 @@ import subprocess import websockets from concurrent.futures import CancelledError from http.client import HTTPSConnection +from pathlib impo...
Support (and prefer) per-controller macaroon files (#<I>) Juju <I>-beta4 moved to per-controller macaroon files, which breaks auth. Fixes #<I>
juju_python-libjuju
train
867858183d63b50c94578ebb06cf059d7a36eb8b
diff --git a/lhc-python/lhc/io/txt_/iterator.py b/lhc-python/lhc/io/txt_/iterator.py index <HASH>..<HASH> 100644 --- a/lhc-python/lhc/io/txt_/iterator.py +++ b/lhc-python/lhc/io/txt_/iterator.py @@ -14,7 +14,7 @@ class Iterator(object): self.iterator = iterator #self.entry_factory = EntryGuesser().g...
fixed txt iterator and set unit tests
childsish_sofia
train
2d8e190c65d4fddaeb28e2496c75d92648a43d5d
diff --git a/ext/java/org/msgpack/jruby/Buffer.java b/ext/java/org/msgpack/jruby/Buffer.java index <HASH>..<HASH> 100644 --- a/ext/java/org/msgpack/jruby/Buffer.java +++ b/ext/java/org/msgpack/jruby/Buffer.java @@ -21,7 +21,6 @@ import org.jcodings.Encoding; @JRubyClass(name="MessagePack::Buffer") public class Buff...
Remove dead code from Buffer.java
msgpack_msgpack-ruby
train
40d48b70d2ae7b451ab163ff176b2b619b082247
diff --git a/src/main/java/io/github/lukehutch/fastclasspathscanner/classfileparser/ClassfileBinaryParser.java b/src/main/java/io/github/lukehutch/fastclasspathscanner/classfileparser/ClassfileBinaryParser.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/github/lukehutch/fastclasspathscanner/classfileparser/Clas...
Be stricter with unknown tag types in classfile binary parser.
classgraph_classgraph
train
ee1608976ac632d0a82b5dcbb8ada1f48efc4192
diff --git a/bin/command_line_interface.rb b/bin/command_line_interface.rb index <HASH>..<HASH> 100644 --- a/bin/command_line_interface.rb +++ b/bin/command_line_interface.rb @@ -136,6 +136,14 @@ module Que end opts.on( + '--minimum-buffer-size [SIZE]', + Integer, +...
Re-add `--minimum-buffer-size` option as deprecated So we don't have to bump the major version yet
chanks_que
train
83731002be3232b080dd84283bd145e91a066181
diff --git a/vr/imager/build.py b/vr/imager/build.py index <HASH>..<HASH> 100644 --- a/vr/imager/build.py +++ b/vr/imager/build.py @@ -34,15 +34,7 @@ def _run_image( untar_to=image_path, ) - # write LXC config file - tmpl = get_template('base_image.lxc') - content = tmpl % { - 'image_pat...
Extract method for writing lxc_config file.
yougov_vr.imager
train
891dc091ea8287728e2ff46e388b332990d00bf9
diff --git a/lib/rudy/config/objects.rb b/lib/rudy/config/objects.rb index <HASH>..<HASH> 100644 --- a/lib/rudy/config/objects.rb +++ b/lib/rudy/config/objects.rb @@ -33,7 +33,20 @@ class Rudy::Config end end - class Machines < Caesars; end + class Machines < Caesars + include Gibbler + + def __gibb...
Updated for Gibbler <I>
solutious_rudy
train