hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
25d6241c8482353f09d7116ba6014055f826c3ed
diff --git a/html/pfappserver/root/static.alt/src/globals/pfField.js b/html/pfappserver/root/static.alt/src/globals/pfField.js index <HASH>..<HASH> 100644 --- a/html/pfappserver/root/static.alt/src/globals/pfField.js +++ b/html/pfappserver/root/static.alt/src/globals/pfField.js @@ -122,7 +122,7 @@ export const pfFieldT...
(web admin) rename operator
inverse-inc_packetfence
train
js
d8721b52df6de47978389ac8568c1ae45105d5e9
diff --git a/app/sqlite.py b/app/sqlite.py index <HASH>..<HASH> 100644 --- a/app/sqlite.py +++ b/app/sqlite.py @@ -13,14 +13,13 @@ class DatabaseConnection(object): """Creates a sqlite db file. tables is a dict with keys=table names, values=lists of cols. """ - fd, self.fn = mkstemp(pr...
No sanitation in create table since we do that ourselves.
glormph_msstitch
train
py
e6aa54e796305cf125048a4cdee1b3d71b5176bb
diff --git a/lib/aduki/version.rb b/lib/aduki/version.rb index <HASH>..<HASH> 100644 --- a/lib/aduki/version.rb +++ b/lib/aduki/version.rb @@ -1,3 +1,3 @@ module Aduki - VERSION = "0.2.3" + VERSION = "0.2.4" end
version: bump to <I>
conanite_aduki
train
rb
7d89744172b2be790811e257dd5416b9e5de190c
diff --git a/lib/cursor.js b/lib/cursor.js index <HASH>..<HASH> 100644 --- a/lib/cursor.js +++ b/lib/cursor.js @@ -140,7 +140,7 @@ Cursor.prototype.exec = function(callback) { res = new Array(ids.length); // Special case: res becomes the cursor of reduce if we're running a map/reduce - if (earlyMapReduce...
deepCopy the reduce start object
Ivshti_linvodb3
train
js
c48e9c9c4ef796b8cdba06c32021bc783705209b
diff --git a/src/webroot/cms/content-manager/pagecontent/includes/plugin-properties.js b/src/webroot/cms/content-manager/pagecontent/includes/plugin-properties.js index <HASH>..<HASH> 100644 --- a/src/webroot/cms/content-manager/pagecontent/includes/plugin-properties.js +++ b/src/webroot/cms/content-manager/pagecontent...
#<I> "Block settings" button at the end of the list
sitesupra_sitesupra
train
js
5928d1185411bcb090046951e375cfe166c5fda8
diff --git a/src/commands/handlers/channel.js b/src/commands/handlers/channel.js index <HASH>..<HASH> 100644 --- a/src/commands/handlers/channel.js +++ b/src/commands/handlers/channel.js @@ -64,7 +64,7 @@ var handlers = { var cache = this.cache('names.' + command.params[1]); this.emit('userlist', { ...
Ensure users in names event is always an array As per the spec: If there is no channel found as in the query, then only RPL_ENDOFNAMES is returned.
kiwiirc_irc-framework
train
js
1e9a7bcbe3fbc8fe5c3149006829ba0b53dd8652
diff --git a/app/volt/tasks/query_tasks.rb b/app/volt/tasks/query_tasks.rb index <HASH>..<HASH> 100644 --- a/app/volt/tasks/query_tasks.rb +++ b/app/volt/tasks/query_tasks.rb @@ -16,6 +16,12 @@ class QueryTasks < Volt::Task self.class.live_query_pool end + def self.reset! + @@channel_live_queries = {} + ...
Fix spec running issue (I think, only happens randomly)
voltrb_volt
train
rb,rb
f91d92e9514e1ee429ce645b41b3828ac5beb0b8
diff --git a/cmsplugin_cascade/bootstrap3/utils.py b/cmsplugin_cascade/bootstrap3/utils.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/bootstrap3/utils.py +++ b/cmsplugin_cascade/bootstrap3/utils.py @@ -105,7 +105,7 @@ def get_image_tags(context, instance, options): resize_options = options.get('resize-opt...
Fixed: enabling subject_location does not work
jrief_djangocms-cascade
train
py
a0e367d816e869bb13513a8cb95e90ae85899a4f
diff --git a/spec/functional/win32/security_spec.rb b/spec/functional/win32/security_spec.rb index <HASH>..<HASH> 100644 --- a/spec/functional/win32/security_spec.rb +++ b/spec/functional/win32/security_spec.rb @@ -48,5 +48,13 @@ describe 'Chef::Win32::Security', :windows_only do expect{ token.duplicate_token(...
Added a test for duplicating a security token with incorrect permissions
chef_chef
train
rb
27b404bbc5290de56044a906c9f1692a08b64e29
diff --git a/echo.go b/echo.go index <HASH>..<HASH> 100644 --- a/echo.go +++ b/echo.go @@ -75,7 +75,6 @@ type ( maxParam *int router *Router routers map[string]*Router - notFoundHandler HandlerFunc pool sync.Pool Server *http.Server TLSServer *...
remove unused notFoundHandler in echo struct (#<I>) * remove unused notFoundHandler in echo
labstack_echo
train
go
4b7441032dc3ad806daa8b083ccdb7bed68b98ca
diff --git a/tests/Database/DatabaseSoftDeletingTraitTest.php b/tests/Database/DatabaseSoftDeletingTraitTest.php index <HASH>..<HASH> 100644 --- a/tests/Database/DatabaseSoftDeletingTraitTest.php +++ b/tests/Database/DatabaseSoftDeletingTraitTest.php @@ -102,8 +102,4 @@ class DatabaseSoftDeletingTraitStub { ...
[<I>] Delete unneeded code after <URL>
laravel_framework
train
php
92b889e810b438f448c9a3dbb794112691f11acd
diff --git a/scripts/listPackagesWithTests.js b/scripts/listPackagesWithTests.js index <HASH>..<HASH> 100644 --- a/scripts/listPackagesWithTests.js +++ b/scripts/listPackagesWithTests.js @@ -43,8 +43,11 @@ const CUSTOM_HANDLERS = { // Split "api-apw" tests into batches of "api-apw": () => { return [ ...
fix: run APW tests without keywords
Webiny_webiny-js
train
js
d3210e9aefcb65018c58e33f063ae02fe5fcfc1c
diff --git a/src/Command.php b/src/Command.php index <HASH>..<HASH> 100644 --- a/src/Command.php +++ b/src/Command.php @@ -63,7 +63,6 @@ abstract class Command extends SymfonyCommand $reflection = new \ReflectionMethod($this, 'perform'); $reflection->setAccessible(true); - /** @var ResolverIn...
Fix psalm-issue
spiral_console
train
php
f3f3d5c91b7384d879391f485b58d7de6608b180
diff --git a/core/commands/root.go b/core/commands/root.go index <HASH>..<HASH> 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -137,6 +137,7 @@ var rootROSubcommands = map[string]*cmds.Command{ }, "cat": CatCmd, "commands": CommandsDaemonROCmd, + "get": GetCmd, "ls": LsCmd, ...
add 'get' to the allowed gateway commands License: MIT
ipfs_go-ipfs
train
go
03e46b7b97b3c659e08150bc59b55ea220e841f9
diff --git a/anyconfig/Bunch.py b/anyconfig/Bunch.py index <HASH>..<HASH> 100644 --- a/anyconfig/Bunch.py +++ b/anyconfig/Bunch.py @@ -75,7 +75,11 @@ class Bunch(dict): self[k].update_w_merge(v, merge_lists) else: if merge_lists and U.is_iterable(v): - ...
fixed anyconfig.Bunch.update_w_merge(..., merge_lists=True) to process cases if former Bunch objects have keys of which values are list not presented in the later Bunch objects while merging series of Bunch objects
ssato_python-anyconfig
train
py
f8db7219b9b9cdc092a08f9d9e2c3378b208a9f1
diff --git a/internal/usage/plugin.go b/internal/usage/plugin.go index <HASH>..<HASH> 100644 --- a/internal/usage/plugin.go +++ b/internal/usage/plugin.go @@ -32,8 +32,12 @@ func Plugin() plugin.Plugin { return nil } + if len(os.Args) < 2 || len(os.Args[1]) == 0 { + return nil + } + // service nam...
command is blank, use os args
micro_micro
train
go
31c77e5855bd8a5fa7889acd9e561969d032aaea
diff --git a/userstate.go b/userstate.go index <HASH>..<HASH> 100644 --- a/userstate.go +++ b/userstate.go @@ -568,3 +568,8 @@ NEXT: } return nil } + +// Return a struct for creating datastructures with +func (state *UserState) Creator() pinterface.ICreator { + return simpleredis.NewCreator(state.pool, state.dbind...
Add a Creator method * Add a Creator method for comforming to the pinterface package
xyproto_permissions2
train
go
c0387fd5dd447405e5e1bb8e4bef5f6ba26d555d
diff --git a/js/reveal.js b/js/reveal.js index <HASH>..<HASH> 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1383,8 +1383,8 @@ var Reveal = (function(){ case 32: isOverviewActive() ? deactivateOverview() : navigateNext(); break; // return case 13: isOverviewActive() ? deactivateOverview() : triggered = fa...
add Logitech presenter tools "black screen" button compatibility
hakimel_reveal.js
train
js
dc7fc3be8b5ce0aa8f5b401b772ed15a99e5b652
diff --git a/src/Security/Hash.php b/src/Security/Hash.php index <HASH>..<HASH> 100644 --- a/src/Security/Hash.php +++ b/src/Security/Hash.php @@ -11,6 +11,19 @@ class Hash * @param int $cost * @return bool|string */ + public static function create($value, $cost = 10) + { + return pas...
[hash] create make method alias
bowphp_framework
train
php
03fbaed3dd1832c1c123d9b8405c37ea2d1f3471
diff --git a/src/Bigcommerce/Api/Client.php b/src/Bigcommerce/Api/Client.php index <HASH>..<HASH> 100644 --- a/src/Bigcommerce/Api/Client.php +++ b/src/Bigcommerce/Api/Client.php @@ -1672,7 +1672,7 @@ class Client */ public static function createProductReview($productId, $object) { - return self:...
BIG-<I> - Adding some methods to the API Client
bigcommerce_bigcommerce-api-php
train
php
e8e86737aeb17f2c203df157b25251cc8162e6d8
diff --git a/test/memlog.js b/test/memlog.js index <HASH>..<HASH> 100644 --- a/test/memlog.js +++ b/test/memlog.js @@ -15,8 +15,6 @@ module.exports = function (db) { })) tape('views', function (t) { - console.log(db) - console.log(db.views) t.notEqual(db.views, undefined, 'views are accessible') ...
Remove leftover instances of `console.log`
flumedb_flumedb
train
js
688de91905b496c83321c85018053aa637f8a909
diff --git a/ChromeController/manager.py b/ChromeController/manager.py index <HASH>..<HASH> 100644 --- a/ChromeController/manager.py +++ b/ChromeController/manager.py @@ -48,9 +48,9 @@ class ChromeRemoteDebugInterface(ChromeRemoteDebugInterface_base): resp2 = self.DOM_enable() resp3 = self.Network_enable() - c...
apparently that's still in beta only
fake-name_ChromeController
train
py
f63fff6a8492b32c5e44202b938ce5d9600faa2a
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...
delete reaping frequency from the db config
rails_rails
train
rb
923cbe62a0806166b16ea159631552fc155d62c4
diff --git a/breacharbiter.go b/breacharbiter.go index <HASH>..<HASH> 100644 --- a/breacharbiter.go +++ b/breacharbiter.go @@ -228,10 +228,10 @@ func (b *breachArbiter) Start() error { // to be managed by the contractObserver. chanPoint := chanState.FundingOutpoint if closeSummary, ok := closeSummaries[chanPoi...
breacharbiter: also cancel the channel's observer in case of close, or hand-off
lightningnetwork_lnd
train
go
4822bc492c0a7c30dea55211a6756b10d1f05e3e
diff --git a/resources/lang/de-DE/cachet.php b/resources/lang/de-DE/cachet.php index <HASH>..<HASH> 100644 --- a/resources/lang/de-DE/cachet.php +++ b/resources/lang/de-DE/cachet.php @@ -81,6 +81,7 @@ return [ 'manage' => [ 'no_subscriptions' => 'Du hast im Augenblick alle Updates abonniert.'...
New translations cachet.php (German)
CachetHQ_Cachet
train
php
1b58c3da3b75c51265d162cb6ab77c59e52414fc
diff --git a/packages/upload-core/src/upload.js b/packages/upload-core/src/upload.js index <HASH>..<HASH> 100644 --- a/packages/upload-core/src/upload.js +++ b/packages/upload-core/src/upload.js @@ -402,7 +402,7 @@ class Upload { this.status = status; try { this.parseErrorMessage(message, err); - } ...
fix(upload-core): leave the catch param syntax
Availity_sdk-js
train
js
cc64df0890096afc4f7b727c2e3306114bd3b89e
diff --git a/sinatra-contrib/lib/sinatra/multi_route.rb b/sinatra-contrib/lib/sinatra/multi_route.rb index <HASH>..<HASH> 100644 --- a/sinatra-contrib/lib/sinatra/multi_route.rb +++ b/sinatra-contrib/lib/sinatra/multi_route.rb @@ -19,6 +19,12 @@ module Sinatra # # ... # end # + # Or for multiple verbs a...
Add example for MultiRoute with multiple verbs and multiple routes
sinatra_sinatra
train
rb
14bae3e15bc5769cfe9e579cec79cdb7d5f76494
diff --git a/zipline/finance/blotter.py b/zipline/finance/blotter.py index <HASH>..<HASH> 100644 --- a/zipline/finance/blotter.py +++ b/zipline/finance/blotter.py @@ -180,9 +180,9 @@ class Blotter(object): lambda o: o.dt <= trade_event.dt, orders) - for order, txn in self.process_tran...
MAINT: Names were reversed from their actual values
quantopian_zipline
train
py
e42d037f01df7dbdbe635905a537423cbc38b10b
diff --git a/app/templates/entry/client-prefetch.js b/app/templates/entry/client-prefetch.js index <HASH>..<HASH> 100644 --- a/app/templates/entry/client-prefetch.js +++ b/app/templates/entry/client-prefetch.js @@ -104,8 +104,8 @@ export function addPreFetchHooks (router<%= store ? ', store' : '' %>, publicPat pre...
fix(app): preFetch's currentRoute is a ref instead of the actual value #<I>
quasarframework_quasar
train
js,js
c3a77b6034266ae034529224064964c90069f396
diff --git a/src/VR.js b/src/VR.js index <HASH>..<HASH> 100644 --- a/src/VR.js +++ b/src/VR.js @@ -626,6 +626,29 @@ const getHMDType = () => { return null; } }; +const hmdTypes = [ + 'fake', + 'oculus', + 'openvr', + 'oculusMobile', + 'magicleap', +]; +const hmdTypeIndexMap = (() => { + const result = {}...
Add new VR.js lookup hmd methods
exokitxr_exokit
train
js
588097c3a4d8b224223b43fb8417459367a30d2a
diff --git a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java index <HASH>..<HASH> 100644 --- a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java +++ b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverToo...
MQA-<I>: Move logic from steps to utility classes
mgm-tp_jfunk
train
java
dfe8e498d60d41a8361c117b593caa194cac19db
diff --git a/dshelpers.py b/dshelpers.py index <HASH>..<HASH> 100644 --- a/dshelpers.py +++ b/dshelpers.py @@ -266,8 +266,9 @@ def test_rate_limit_sleeps_up_to_correct_period(mock_sleep): mock_sleep.assert_called_once_with(_HIT_PERIOD - 1.5) +@patch('time.sleep') @patch('dshelpers.requests.get') -def test_pas...
Mock time.sleep for test_passes_headers_through Not entirely sure why this is required for Py<I>; tests take around <I> s with or without this on Py<I>, but 2 s without it on Py<I>.
scraperwiki_data-services-helpers
train
py
73e3db0a2f0134d4755b8bd4153cb1b6b3d9842d
diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index <HASH>..<HASH> 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -768,6 +768,8 @@ $(function () { var offset = $('.tooltip').offset() $styles.remove() ok(Math.abs(offset.left - 88) <= 1, 'tooltip has ...
Must explicitly destroy tooltip in SVG unit test since its container is body. Leaking tooltips across tests leads to confusion and sadness.
twbs_bootstrap
train
js
64a7dda77306d8f0765cf45788df4d0a21092770
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,7 +1,7 @@ require "simplecov" require "coveralls" -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ +SimpleCov.formatters = [ SimpleCov::Formatter::HTMLFormatter...
Update notation for multiple SimpleCov formatters.
kanet77_togglv8
train
rb
7ef9ca912d7754512270ed3c09fce79cfc13a761
diff --git a/lib/file/bbfile.rb b/lib/file/bbfile.rb index <HASH>..<HASH> 100644 --- a/lib/file/bbfile.rb +++ b/lib/file/bbfile.rb @@ -46,13 +46,26 @@ module BBLib # A mostly platform agnostic call to get root volumes def self.root_dirs - begin + begin # For windows `wmic logicaldisk get name`.spli...
Added secondary windows method for root disk discovery. Added windows only method to grab drive volume names.
bblack16_bblib-ruby
train
rb
2d1a5df76c186c6c0506ee6bd6caa9814ae34600
diff --git a/src/BladeInstance.php b/src/BladeInstance.php index <HASH>..<HASH> 100644 --- a/src/BladeInstance.php +++ b/src/BladeInstance.php @@ -236,9 +236,9 @@ class BladeInstance implements BladeInterface * * @return $this */ - public function composer($key, $value, $priority = null): BladeInte...
Drop priority as it was removed from upstream
duncan3dc_blade
train
php,php
05134d5784b50adec890bfaf2809b9a99cd45b26
diff --git a/iserve-discovery-api/src/main/java/uk/ac/open/kmi/iserve/discovery/api/impl/AtomicMatchResult.java b/iserve-discovery-api/src/main/java/uk/ac/open/kmi/iserve/discovery/api/impl/AtomicMatchResult.java index <HASH>..<HASH> 100644 --- a/iserve-discovery-api/src/main/java/uk/ac/open/kmi/iserve/discovery/api/im...
Include more detailed explanation for Match Result
kmi_iserve
train
java
9fb04575022d6dd8176ad462fe22866ba2662ce7
diff --git a/Makefile.js b/Makefile.js index <HASH>..<HASH> 100644 --- a/Makefile.js +++ b/Makefile.js @@ -93,7 +93,7 @@ target.lint = function() { target.test = function() { target.lint(); - exec(ISTANBUL + " cover " + MOCHA + TEST_FILES); + exec(ISTANBUL + " cover " + MOCHA + "-- -c " + TEST_FILES); ...
Add color to Mocha test reporting The color highlighting in mocha test reports makes identifying differences between expected and actual values easier. It also makes me happier.
eslint_eslint
train
js
636d29bfb6d1a7b45bb4b10ca2df442de126dafc
diff --git a/org.openbel.framework.common/src/main/java/org/openbel/framework/common/protonetwork/model/StatementTable.java b/org.openbel.framework.common/src/main/java/org/openbel/framework/common/protonetwork/model/StatementTable.java index <HASH>..<HASH> 100644 --- a/org.openbel.framework.common/src/main/java/org/op...
deduplicate statements based on evidence
OpenBEL_openbel-framework
train
java
769c970a283b5f7c62818ff209a5c602a9f846fe
diff --git a/internal/murmur/murmur_appengine.go b/internal/murmur/murmur_appengine.go index <HASH>..<HASH> 100644 --- a/internal/murmur/murmur_appengine.go +++ b/internal/murmur/murmur_appengine.go @@ -1,11 +1,11 @@ -// +build appengine +// +build appengine s390x package murmur import "encoding/binary" func g...
internal/murmur: fix appengine and s<I>x (#<I>)
gocql_gocql
train
go,go
15081aa603a83388068c495500e047b9a33deb40
diff --git a/commands/reverse.py b/commands/reverse.py index <HASH>..<HASH> 100755 --- a/commands/reverse.py +++ b/commands/reverse.py @@ -29,4 +29,6 @@ def cmd(send, msg, args): if re.search(r"<@?\+?" + user + ">", line[1]): send(re.search(r"<.*> (.*)", line[1]).groups(1)[0].strip()[::-1]...
print a message if user not found
tjcsl_cslbot
train
py
b2ad2949f9738a01f0e48d3af6fdd34b03c0651f
diff --git a/modules/custom/activity_logger/src/Service/ActivityLoggerFactory.php b/modules/custom/activity_logger/src/Service/ActivityLoggerFactory.php index <HASH>..<HASH> 100644 --- a/modules/custom/activity_logger/src/Service/ActivityLoggerFactory.php +++ b/modules/custom/activity_logger/src/Service/ActivityLoggerF...
Issue #<I> by bramtenhove, jaapjan: Fix possible fatal error can occur while generating activities by checking if owner exists (#<I>)
goalgorilla_open_social
train
php
3f7468e1dad6b084a983f24ab64f3febf7f6d689
diff --git a/src/Wrapper/FixerWrapper/DocBlockWrapper.php b/src/Wrapper/FixerWrapper/DocBlockWrapper.php index <HASH>..<HASH> 100644 --- a/src/Wrapper/FixerWrapper/DocBlockWrapper.php +++ b/src/Wrapper/FixerWrapper/DocBlockWrapper.php @@ -265,8 +265,15 @@ final class DocBlockWrapper public function getContent():...
[TokenRunner] DocBlockWrapper - single line render
Symplify_TokenRunner
train
php
e5b22b86e85d200ee613ddc82f091f2e11dd6d4f
diff --git a/jquery.parse.js b/jquery.parse.js index <HASH>..<HASH> 100644 --- a/jquery.parse.js +++ b/jquery.parse.js @@ -152,10 +152,10 @@ function handleQuote() { - var delimBefore = _state.i > 0 - && isBoundary(_input[_state.i-1]); - var delimAfter = _state.i < _input.length - 1 - && isBo...
bug fix for head and tail quote character
mholt_PapaParse
train
js
1161a11381b86a8afc1fc39fb1438f18458bd371
diff --git a/lib/bud/rewrite.rb b/lib/bud/rewrite.rb index <HASH>..<HASH> 100644 --- a/lib/bud/rewrite.rb +++ b/lib/bud/rewrite.rb @@ -142,7 +142,7 @@ class RuleRewriter < Ruby2Ruby # :nodoc: all raise Bud::CompileError, "illegal argument to notin: #{args.first}" end notintab = call_to_id(args[0]...
Minor code cleanup. Don't invoke #to_s on something that is always a String.
bloom-lang_bud
train
rb
dffa52cd37e3702ae3b58823d9ed3766742b3da8
diff --git a/pelix/services/eventadmin.py b/pelix/services/eventadmin.py index <HASH>..<HASH> 100644 --- a/pelix/services/eventadmin.py +++ b/pelix/services/eventadmin.py @@ -201,22 +201,26 @@ class EventAdmin(object): - def send(self, event): + def send(self, topic, properties=None): """ ...
EventAdmin: API change - post() and send() now takes the topic and properties of the event as parameters, instead of an Event object => Simplifies the usage of the service => Avoids to import the Event type from the eventadmin module
tcalmant_ipopo
train
py
b301e0f3f354e8b9e8e1d1469d35735935c3d336
diff --git a/spillway/serializers.py b/spillway/serializers.py index <HASH>..<HASH> 100644 --- a/spillway/serializers.py +++ b/spillway/serializers.py @@ -34,6 +34,7 @@ class GeoModelSerializer(serializers.ModelSerializer): for name, field in fields.items(): if isinstance(field, GeometryFi...
Use first geometry field found when undeclared
bkg_django-spillway
train
py
ed7fd36bbf20d9bc3e03424ec3f99d4c9ad13dea
diff --git a/lib/Vertex.php b/lib/Vertex.php index <HASH>..<HASH> 100644 --- a/lib/Vertex.php +++ b/lib/Vertex.php @@ -162,6 +162,12 @@ class Vertex extends Layoutable{ private $graph; /** + * + * @var any kind of Value + */ + private $value; + + /** * Creates a Vertex * * @param int $id Iden...
added get/setValue to store any values inside the vertices
graphp_graph
train
php
17641ec74c7c7f59e6de098604ebd5bfb9f31bdb
diff --git a/source/set.js b/source/set.js index <HASH>..<HASH> 100644 --- a/source/set.js +++ b/source/set.js @@ -17,7 +17,7 @@ import over from './over'; * @param {*} v * @param {*} x * @return {*} - * @see R.prop, R.lensIndex, R.lensProp + * @see R.view, R.prop, R.lensIndex, R.lensProp * @example * * ...
add @see: R.view and R.set
ramda_ramda
train
js,js
01d535d90874c5e0da73d0cb530ad177e3b1740c
diff --git a/pmdarima/utils/array.py b/pmdarima/utils/array.py index <HASH>..<HASH> 100644 --- a/pmdarima/utils/array.py +++ b/pmdarima/utils/array.py @@ -351,7 +351,7 @@ def diff_inv(x, lag=1, differences=1, xi=None): ), lag=lag, differences=1, - xi=xi[1:lag] + ...
Change list slice to account for differences in R and Python
tgsmith61591_pmdarima
train
py
698019a5525a531ac1896c8205d8b7e63aba8e25
diff --git a/hugolib/site.go b/hugolib/site.go index <HASH>..<HASH> 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1449,7 +1449,7 @@ func (s *Site) renderAndWritePage(name string, dest string, d interface{}, layou transformLinks = append(transformLinks, transform.AbsURL) } - if viper.GetBool("watch") && ...
Disable LiveReload when Hugo is not running as a server This change fixes #<I>.
gohugoio_hugo
train
go
2416dccd6be028a3e55e3642c28544ad08a270bf
diff --git a/worker/buildbot_worker/scripts/runner.py b/worker/buildbot_worker/scripts/runner.py index <HASH>..<HASH> 100644 --- a/worker/buildbot_worker/scripts/runner.py +++ b/worker/buildbot_worker/scripts/runner.py @@ -21,12 +21,11 @@ import re import sys import textwrap -from twisted.logger import ILogObserver...
use old Twisted logging interface to work with Twisted <I>
buildbot_buildbot
train
py
549c5cdc8724642caf0b60b23f4804099d38d4ad
diff --git a/ontrack-extension-scm/src/main/java/net/nemerosa/ontrack/extension/scm/SCMController.java b/ontrack-extension-scm/src/main/java/net/nemerosa/ontrack/extension/scm/SCMController.java index <HASH>..<HASH> 100644 --- a/ontrack-extension-scm/src/main/java/net/nemerosa/ontrack/extension/scm/SCMController.java +...
#<I> SCM controller to delete a filter
nemerosa_ontrack
train
java
eb8e374888431c24c98f05706537a59d38ed35ac
diff --git a/offset_request.go b/offset_request.go index <HASH>..<HASH> 100644 --- a/offset_request.go +++ b/offset_request.go @@ -2,8 +2,11 @@ package kafka // Special values accepted by Kafka for the 'time' parameter of OffsetRequest.AddBlock(). const ( - LATEST_OFFSET int64 = -1 - EARLIEST_OFFSETS int64 = -2 ...
Update some constants and document. The protocol spec wiki page was changed *as I was coding this* :P
Shopify_sarama
train
go,go
4b5896a10afa848235d5041e988424ba8d3239a6
diff --git a/neurondm/test/test_neurons.py b/neurondm/test/test_neurons.py index <HASH>..<HASH> 100644 --- a/neurondm/test/test_neurons.py +++ b/neurondm/test/test_neurons.py @@ -144,13 +144,17 @@ class TestRoundtrip(_TestNeuronsBase): Neuron(Phenotype('TEMP:turtle-phenotype')) Neuron(NegPhenotype('TE...
test neurons made it easier to see where mismatches
tgbugs_pyontutils
train
py
0b5579783ad7865b88337fc50ef72b01fa525bf9
diff --git a/lib/core_extensions.rb b/lib/core_extensions.rb index <HASH>..<HASH> 100644 --- a/lib/core_extensions.rb +++ b/lib/core_extensions.rb @@ -322,7 +322,7 @@ class Hash elsif value.is_a?(Hash) stack << [key,value] else - param << "#{key}=#{value}&" + param << "#{key}=#{URI.encode(val...
Added uri encode to Hash#to_params to ensure param values are properly encoded
jnunemaker_httparty
train
rb
3016d3cd9b81c46d853e0d6912afc4e1479081df
diff --git a/tests/export/hazard_test.py b/tests/export/hazard_test.py index <HASH>..<HASH> 100644 --- a/tests/export/hazard_test.py +++ b/tests/export/hazard_test.py @@ -16,7 +16,6 @@ import os import shutil -import subprocess import tempfile import unittest @@ -41,7 +40,6 @@ class HazardCurveExportTestCase(un...
tests/export/hazard_test: Removed unused imports and unused variables
gem_oq-engine
train
py
c6155c05d1bf20e08a3667a662cd42e7d6316e9e
diff --git a/cablemap.core/cablemap/core/reader.py b/cablemap.core/cablemap/core/reader.py index <HASH>..<HASH> 100644 --- a/cablemap.core/cablemap/core/reader.py +++ b/cablemap.core/cablemap/core/reader.py @@ -54,7 +54,7 @@ _MAX_HEADER_IDX = 1200 _CABLES_WITHOUT_TAGS = ( '06KABUL3934', '08BEIJING3662', '09ROME87...
Updated cables w/o TAGs
heuer_cablemap
train
py
7fe6d0b8f623b8987dc6d036e968f734baaf98cc
diff --git a/src/Console/Application.php b/src/Console/Application.php index <HASH>..<HASH> 100644 --- a/src/Console/Application.php +++ b/src/Console/Application.php @@ -146,6 +146,7 @@ class Application extends SymfonyConsole // Load cli options: $input = new ArgvInput(); $configPath = $inp...
Fixes #<I> (#<I>) Fixes #<I> (#<I>)
phpro_grumphp
train
php
bdb2726fac88754c8a2cfaab23adfb69911e8bde
diff --git a/Controller/Controller.php b/Controller/Controller.php index <HASH>..<HASH> 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -147,7 +147,11 @@ class Controller $cache->write($content, $resources); } - $response = new Response(file_get_contents((string)...
Set content-type to the controller's response
willdurand_BazingaJsTranslationBundle
train
php
593c761a12ed6d5d8264fef4026128a2c7bb6f97
diff --git a/app/controllers/socializer/audiences_controller.rb b/app/controllers/socializer/audiences_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/socializer/audiences_controller.rb +++ b/app/controllers/socializer/audiences_controller.rb @@ -4,9 +4,11 @@ module Socializer def index if...
refactor the index action to use squeel #<I>
socializer_socializer
train
rb
7dedeb2453632e6025d7aa8e4c58718b4bf9597a
diff --git a/project_generator/project.py b/project_generator/project.py index <HASH>..<HASH> 100644 --- a/project_generator/project.py +++ b/project_generator/project.py @@ -364,7 +364,7 @@ class Project: list(flatten([settings.all_sources_of_type('lib') for settings in tool_specific_s...
Project - tool setting linker - pick valid from all in the list
project-generator_project_generator
train
py
e44430434a44a2db3deb661f30ac8fc8e6c5679c
diff --git a/src/boost/python/server.py b/src/boost/python/server.py index <HASH>..<HASH> 100644 --- a/src/boost/python/server.py +++ b/src/boost/python/server.py @@ -45,7 +45,7 @@ LatestDeviceImpl = get_tango_device_classes()[-1] def __build_to_tango_type(): ret = \ { - int : CmdArgType.DevLo...
Fix: long objects are DevEncoded instead of DevLong<I>
tango-controls_pytango
train
py
cda6272c358061ec744c6cdcd7b86d704baec426
diff --git a/test/integration/test_cert_user_auth.rb b/test/integration/test_cert_user_auth.rb index <HASH>..<HASH> 100644 --- a/test/integration/test_cert_user_auth.rb +++ b/test/integration/test_cert_user_auth.rb @@ -25,6 +25,23 @@ unless ENV['NET_SSH_NO_ED25519'] assert_equal "hello from:net_ssh_1\n", ret ...
Add integration test using cert and key from ssh-agent
net-ssh_net-ssh
train
rb
4b88215f0091acb621871452a91bde6b8fd8abf5
diff --git a/src/Synapse/Mapper/AbstractMapper.php b/src/Synapse/Mapper/AbstractMapper.php index <HASH>..<HASH> 100644 --- a/src/Synapse/Mapper/AbstractMapper.php +++ b/src/Synapse/Mapper/AbstractMapper.php @@ -194,7 +194,13 @@ abstract class AbstractMapper implements LoggerAwareInterface * @return AbstractEntity...
Refs #<I> - filled in single entity method
synapsestudios_synapse-base
train
php
1f135fab0060ec4d9860a31708da8a5d2e1d7211
diff --git a/lib/todoist/diff_todo_finder.rb b/lib/todoist/diff_todo_finder.rb index <HASH>..<HASH> 100644 --- a/lib/todoist/diff_todo_finder.rb +++ b/lib/todoist/diff_todo_finder.rb @@ -46,10 +46,10 @@ module Danger private def line_number(match) - _, todo_indicator = match + _, _, first_text = m...
Find line number based on todo text, seems more robust
hanneskaeufler_danger-todoist
train
rb,rb
99e90e734f69d4b22407405d0f42d407966f14e8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,8 @@ setup( "py-lru-cache~=0.1.4", "six", ], - tests_require=["pytest~=5.0.0"], + extras_require={"test": ["pytest"]}, + tests_require=["csvs-to-sqlite[test]"], entry_points=""" ...
Fix pytest installation in CI
simonw_csvs-to-sqlite
train
py
7f83906dd200e871de71a8f9bd8143cf7dbea6be
diff --git a/malcolm/modules/stats/parts/statspart.py b/malcolm/modules/stats/parts/statspart.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/stats/parts/statspart.py +++ b/malcolm/modules/stats/parts/statspart.py @@ -324,12 +324,13 @@ not_malcolm_logo_svg = """\ def start_ioc(stats, prefix): db_macros = "...
changed softIoc init to use absoulte path
dls-controls_pymalcolm
train
py
7705ad5aee64d9d941a960cbe6de513e7de01ec8
diff --git a/lib/rubocop/cop/symbol_snake_case.rb b/lib/rubocop/cop/symbol_snake_case.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/cop/symbol_snake_case.rb +++ b/lib/rubocop/cop/symbol_snake_case.rb @@ -5,13 +5,14 @@ module Rubocop class SymbolSnakeCase < Cop ERROR_MESSAGE = 'Use snake_case for symbols....
Extend handling of special symbol names
rubocop-hq_rubocop
train
rb
25d1eeaa456595990696defd2119491d58b3f26e
diff --git a/ugali/utils/batch.py b/ugali/utils/batch.py index <HASH>..<HASH> 100644 --- a/ugali/utils/batch.py +++ b/ugali/utils/batch.py @@ -33,7 +33,7 @@ RUNLIMITS = odict([ #Hard limits ('bulletmpi','48:00'), ]) -def batchFactory(queue,**kwargs): +def factory(queue,**kwargs): if ...
Renaming batch factory to agree with other modules
DarkEnergySurvey_ugali
train
py
e01e450abb4b862db98ecd1d1e2758d584e95c51
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import os -from setuptools import setup +from setuptools import find_packages, setup basedir = os.path.dirname(__file__) @@ -11,7 +11,7 @@ def readme(): about = {} -with open(os.path.join(basedir, 'fl...
Adjust setup.py for src dir
jamescooke_flake8-aaa
train
py
953e8ea4a83180d863d55c31bb65a2cb17cfe09d
diff --git a/src/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php b/src/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php index <HASH>..<HASH> 100644 --- a/src/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php +++ b/src/Bridge/Doctrine/Common/Filter/OrderFilterTrait.php @@ -29,7 +29,7 @@ trait OrderFilterTrait ...
Fix BC break in Doctrine ORM OrderFilter Protected property visibility must not be changed
api-platform_core
train
php
c3a08d413f3c0a08b2a8eb0f280c730bd10f71c8
diff --git a/src/babel/transformation/file/index.js b/src/babel/transformation/file/index.js index <HASH>..<HASH> 100644 --- a/src/babel/transformation/file/index.js +++ b/src/babel/transformation/file/index.js @@ -337,6 +337,7 @@ export default class File { ref._generated = true; ref.id = uid; ref...
attach auxiliary comment to function declaration helpers - fixes #<I>
babel_babel
train
js,js
69d4a48ff67188214bc28ec1a4d138c5997ce171
diff --git a/test/unit/core.js b/test/unit/core.js index <HASH>..<HASH> 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -509,7 +509,6 @@ test( "isNumeric", function() { equal( t( [ 42 ] ), false, "Array with one number" ); equal( t(function(){} ), false, "Instance of a function"); equal( t( new Date() )...
Core: Remove repeated test Closes gh-<I>
jquery_jquery
train
js
5e219a15080ebd96b430b68c853464ac49fc8df5
diff --git a/polyfills/Object.getOwnPropertyNames/polyfill.js b/polyfills/Object.getOwnPropertyNames/polyfill.js index <HASH>..<HASH> 100644 --- a/polyfills/Object.getOwnPropertyNames/polyfill.js +++ b/polyfills/Object.getOwnPropertyNames/polyfill.js @@ -6,7 +6,9 @@ Object.getOwnPropertyNames = function getOwnPropertyN...
Update polyfill.js in Object.getOwnPropertyNames Object.getOwnPropertyNames() is limited to an object's own direct properties, so it shouldn't search up the prototype chain (<URL>)
Financial-Times_polyfill-service
train
js
2c7b489fc1faefe4898eca5398c6114b2591128b
diff --git a/src/node/index.js b/src/node/index.js index <HASH>..<HASH> 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -140,6 +140,9 @@ class Runner { process.on('exit', () => { process.exit(failures); }); + if (this.argv.exit) { + process.exit(); + } } onEnd() { if (th...
Adding possibility to force exit after test run (#<I>) * Adding possibility to force exit after test run * feat: fix `exit` * chore: update description
qlik-oss_after-work.js
train
js,js
3c25592fed58ea15c661c6135be6acdd5ffc705e
diff --git a/src/main/java/nl/topicus/jdbc/statement/CloudSpannerPreparedStatement.java b/src/main/java/nl/topicus/jdbc/statement/CloudSpannerPreparedStatement.java index <HASH>..<HASH> 100644 --- a/src/main/java/nl/topicus/jdbc/statement/CloudSpannerPreparedStatement.java +++ b/src/main/java/nl/topicus/jdbc/statement/...
executeQuery(String sql) may not be called on a PreparedStatement
olavloite_spanner-jdbc
train
java
0b740fb02a52f64ab94cd8cc680188cd0b63d072
diff --git a/lib/passport/http/request.js b/lib/passport/http/request.js index <HASH>..<HASH> 100644 --- a/lib/passport/http/request.js +++ b/lib/passport/http/request.js @@ -33,12 +33,17 @@ req.logIn = function(user, options, done) { done = options; options = {}; } + options = options || {}; var p...
Throws error when req.login callback function is missing (and is using session).
jaredhanson_passport
train
js
ae3958c9977b2bcaa66f0e37ee477bcc19a03aaf
diff --git a/atom/browser/default_app/main.js b/atom/browser/default_app/main.js index <HASH>..<HASH> 100644 --- a/atom/browser/default_app/main.js +++ b/atom/browser/default_app/main.js @@ -30,7 +30,7 @@ if (argv._.length > 0) { } // Run the app. - require(packagePath); + require('module')._load(pack...
The default_app should also set process.mainModule.
electron_electron
train
js
7d107fbe53fd69ff9f873e855b5e0c025f2195fc
diff --git a/src/nwmatcher.js b/src/nwmatcher.js index <HASH>..<HASH> 100644 --- a/src/nwmatcher.js +++ b/src/nwmatcher.js @@ -843,9 +843,11 @@ expr = expr.length == 2 ? expr[1] : expr[0] + ''; // replace Operators parameter if needed - if ((type = Operators[match[2]])) { + if ...
correct wrong interpretation of empty attribute values with operators in IE tests
dperini_nwmatcher
train
js
c1311d25573d0d98bccb530a681f6273a77a2168
diff --git a/lib/ajax/action_controller.rb b/lib/ajax/action_controller.rb index <HASH>..<HASH> 100644 --- a/lib/ajax/action_controller.rb +++ b/lib/ajax/action_controller.rb @@ -61,6 +61,7 @@ module Ajax # redirect. def redirect_to_full_url_with_ajax(url, status) raise DoubleRenderError if perfo...
trying to make the ajax script not double load a redirected page
kjvarga_ajax
train
rb,js
2c0165b260cdaec285ad99397af4ed513bd08472
diff --git a/src/editor/InlineWidget.js b/src/editor/InlineWidget.js index <HASH>..<HASH> 100644 --- a/src/editor/InlineWidget.js +++ b/src/editor/InlineWidget.js @@ -98,8 +98,9 @@ define(function (require, exports, module) { /** @return {boolean} True if any part of the inline widget is focused */ Inli...
Use a more reliable way to determine whether focus is in an inline widget
adobe_brackets
train
js
871ec64f0b89b62c491ba24ecbdea414ef5e9b6a
diff --git a/sos/__main__.py b/sos/__main__.py index <HASH>..<HASH> 100755 --- a/sos/__main__.py +++ b/sos/__main__.py @@ -252,7 +252,8 @@ def cmd_run(args, workflow_args): # this setting makes sure that subprocesses are spawned in the way that is the same on windows # and unix, making sos much portable. The ...
Use forkserver method of forking process, which is supposed to be faster than spawn #<I>
vatlab_SoS
train
py
a59485ef9cf889d987855ad3244cf7952b438a5f
diff --git a/mispy/misp.py b/mispy/misp.py index <HASH>..<HASH> 100755 --- a/mispy/misp.py +++ b/mispy/misp.py @@ -387,6 +387,7 @@ class MispObject(MispBaseObject): for field in ['id', 'event_id', 'name', 'description', 'comment', 'timestamp']: val = getattr(xml_obj, field) setattr(ob...
Fix bug when there is no Object in an Event
airbus-cert_mispy
train
py
4b3148aca3de32c43d5169530589e98bd7ef24e9
diff --git a/rootpy/plotting/canvas.py b/rootpy/plotting/canvas.py index <HASH>..<HASH> 100644 --- a/rootpy/plotting/canvas.py +++ b/rootpy/plotting/canvas.py @@ -68,6 +68,9 @@ class Canvas(_PadBase, QROOT.TCanvas): # Since in the most common case I don't care about the window # decorations, t...
fix for setting canvas size in batch mode
rootpy_rootpy
train
py
4fec115627810919138d256015e18785602ca121
diff --git a/libs/Format/Confluence/Api.php b/libs/Format/Confluence/Api.php index <HASH>..<HASH> 100644 --- a/libs/Format/Confluence/Api.php +++ b/libs/Format/Confluence/Api.php @@ -200,7 +200,7 @@ class Api throw $this->handleError($e); } - $url = "content/$id/child/attachment" . count(...
Bugfix in confluence upload. The bug in image reuploads is fixed in confluence <I>
dauxio_daux.io
train
php
b8bffb0db94130bdd7608f8b52136bd0fb28e270
diff --git a/salt/pillar/__init__.py b/salt/pillar/__init__.py index <HASH>..<HASH> 100644 --- a/salt/pillar/__init__.py +++ b/salt/pillar/__init__.py @@ -341,10 +341,18 @@ class Pillar(object): errors = [] fn_ = self.client.get_state(sls, saltenv).get('dest', False) if not fn_: - ...
Fixed issue #<I> If an ext_pillar item is not loaded and its branch is not present in pillar_roots, the corresponding salt environment will not be available. However, this is not an issue, since it will be available when all of ext_pillar items are parsed; therefore, when trying to get the SLS from that non-present sa...
saltstack_salt
train
py
c1d80e2725f1804bda911965faa49a0816f01663
diff --git a/spyder/api/plugins.py b/spyder/api/plugins.py index <HASH>..<HASH> 100644 --- a/spyder/api/plugins.py +++ b/spyder/api/plugins.py @@ -151,6 +151,8 @@ class PluginWidget(BasePluginWidget): def visibility_changed(self, enable): """Dock widget visibility has changed.""" + if self.dockwi...
PluginAPI: Validation of the dockwidget existence before raising it
spyder-ide_spyder
train
py
5cc76589af9af4b5c3b1066df4e00f0589937dd9
diff --git a/nodes/src/index.js b/nodes/src/index.js index <HASH>..<HASH> 100644 --- a/nodes/src/index.js +++ b/nodes/src/index.js @@ -25,6 +25,15 @@ var debug = true, retryMs = 2000, // retry ms period for manual socket reconnections workaround timerid +// Get the namespace from the current URL rather than...
Get namespace from url instead of cookie (needs tidy up)
TotallyInformation_node-red-contrib-uibuilder
train
js
8e4b62e3b488a7f10c4654b70b2cf057c1f6431a
diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py index <HASH>..<HASH> 100644 --- a/salt/utils/parsers.py +++ b/salt/utils/parsers.py @@ -688,8 +688,11 @@ class SyndicOptionParser(OptionParser, ConfigDirMixIn, MergeConfigMixIn, def setup_config(self): opts = config.master_config(self.get_config...
Fix parser forsyndic to use master user
saltstack_salt
train
py
d2449a8c73a39a080c961f02c00d5a59689c4bc9
diff --git a/config/projects/chefdk.rb b/config/projects/chefdk.rb index <HASH>..<HASH> 100644 --- a/config/projects/chefdk.rb +++ b/config/projects/chefdk.rb @@ -55,7 +55,6 @@ override :cacerts, version: '2014.08.20' # For now we'll roll back so master is in a working state. override :appbundler, version: "0.2.0" ...
Let ChefDK float on master
chef_chef
train
rb
4d2facc245cbd80347fa55b916d22175331351e2
diff --git a/src/Formatter/CommandLineFormatter.php b/src/Formatter/CommandLineFormatter.php index <HASH>..<HASH> 100644 --- a/src/Formatter/CommandLineFormatter.php +++ b/src/Formatter/CommandLineFormatter.php @@ -20,15 +20,8 @@ class CommandLineFormatter extends AbstractFormatter $severity = $this->determine...
Minor simplification and perf tweak for string build
thephpleague_booboo
train
php
461ad3f75224e9fe399a4d1137db6a6ca32cc298
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -143,19 +143,17 @@ Liftoff.prototype.launch = function (opts, fn) { return this.completions(completion); } - var execute = fn.bind(this, this.buildEnvironment(opts)); - if (this.nodeFlags) { flaggedRespawn(t...
fix: Avoid calling buildEnvironment until ready
js-cli_js-liftoff
train
js
742650621d33dc61679efc63532b622f1cf86020
diff --git a/master/buildbot/status/web/authz.py b/master/buildbot/status/web/authz.py index <HASH>..<HASH> 100644 --- a/master/buildbot/status/web/authz.py +++ b/master/buildbot/status/web/authz.py @@ -65,7 +65,7 @@ class Authz(object): def authenticated(self, request): if self.useHttpHeade...
Replace check for not None with check fot not '' request.getUser() return the empty string if no user was supplied. <URL>
buildbot_buildbot
train
py
f8b7bd3a6a0c24d6ba10bb2ee6fc3f09d1b94316
diff --git a/helpers/config.go b/helpers/config.go index <HASH>..<HASH> 100644 --- a/helpers/config.go +++ b/helpers/config.go @@ -48,9 +48,6 @@ type Config struct { TimeoutScale float64 `json:"timeout_scale"` - SyslogDrainPort int `json:"syslog_drain_port"` - SyslogIpAddress string `json:"syslog_ip_address"` ...
Remove unused properties from Config [#<I>]
cloudfoundry-incubator_cf-test-helpers
train
go
77db7954e8f7d10b57d8cdaf71c9346799a2093c
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/detect/UnreadFields.java @@ -480,6 +48...
never report a static field as not being initialized in a constructor git-svn-id: <URL>
spotbugs_spotbugs
train
java
23b0c7386441baab62b2418766eab999da4f5d54
diff --git a/spec/support/simplecov_helper.rb b/spec/support/simplecov_helper.rb index <HASH>..<HASH> 100644 --- a/spec/support/simplecov_helper.rb +++ b/spec/support/simplecov_helper.rb @@ -1,4 +1,3 @@ -require 'coveralls' require 'simplecov' require './spec/support/simplecov_quality_formatter' @@ -8,8 +7,14 @@ mo...
Don't setup Coveralls locally.
rpush_rpush
train
rb
de237a6c1e55b95d861668f9be4f5f16d43a4df3
diff --git a/src/shogun2-core/src/main/java/de/terrestris/shogun2/util/http/HttpUtil.java b/src/shogun2-core/src/main/java/de/terrestris/shogun2/util/http/HttpUtil.java index <HASH>..<HASH> 100644 --- a/src/shogun2-core/src/main/java/de/terrestris/shogun2/util/http/HttpUtil.java +++ b/src/shogun2-core/src/main/java/de/...
Fix failing build by not setting system property
terrestris_shogun-core
train
java
a1d4515bad3a3c204b2be382956e35ed4d70af36
diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_series.py +++ b/pandas/tests/test_series.py @@ -2530,6 +2530,9 @@ class TestSeries(unittest.TestCase, CheckNameIntegration): self.assert_((ser[6:10] == -1).all()) self.assert_((se...
TST: extra test case for Series.replace
pandas-dev_pandas
train
py
649e2ca6b8420fc0d0ea7606b3216df591962a43
diff --git a/jsh.go b/jsh.go index <HASH>..<HASH> 100644 --- a/jsh.go +++ b/jsh.go @@ -3,4 +3,6 @@ // from your server. // // For a request client, see: jsc: https://godoc.org/github.com/derekdowling/go-json-spec-handler/client +// +// For a full http.Handler API builder see jshapi: https://godoc.org/github.com/dere...
Linking to jshapi from godoc
derekdowling_go-json-spec-handler
train
go