hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
9007e8d65f2e2241487a605b0dd37737106abd9c
diff --git a/email/views/utilities/unsubscribe.php b/email/views/utilities/unsubscribe.php index <HASH>..<HASH> 100644 --- a/email/views/utilities/unsubscribe.php +++ b/email/views/utilities/unsubscribe.php @@ -116,7 +116,7 @@ font-size:0.65em; } - #logoContainer + #logo-container ...
Css class name change and PSR-2'd
nails_module-email
train
94cbbb4bd34ef9dc416b287c380a5f82aacfd877
diff --git a/openquake/hazardlib/gsim/kanno_2006.py b/openquake/hazardlib/gsim/kanno_2006.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/kanno_2006.py +++ b/openquake/hazardlib/gsim/kanno_2006.py @@ -129,8 +129,6 @@ class Kanno2006Shallow(GMPE): """ - assert imt.__class__ in self.DEFI...
Removed redundant assertion of imt in DEFINED_FOR_INTENSITY_MEASURE_TYPES; this is handled by base class.
gem_oq-engine
train
319f2bd12d1ac6bde471b48b2c2cfc7bb6d5cad2
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,10 @@ #!/usr/bin/env python from distutils.core import setup -import os from ldap_sync import __version__ as version -def read_file(filename): - """ - Utility function to read a provided filename. - ...
Close opened file in setup.py
jbittel_django-ldap-sync
train
190898782dae1dd2ec44e7e1a1390f5d08267f0e
diff --git a/dropwizard-core/src/main/java/com/yammer/dropwizard/ConfiguredBundle.java b/dropwizard-core/src/main/java/com/yammer/dropwizard/ConfiguredBundle.java index <HASH>..<HASH> 100644 --- a/dropwizard-core/src/main/java/com/yammer/dropwizard/ConfiguredBundle.java +++ b/dropwizard-core/src/main/java/com/yammer/dr...
Relax the constraints on ConfiguredBundle.
dropwizard_dropwizard
train
e40ff15f4334152d2bcb4bfb51ea7be6355cf890
diff --git a/test/org/kefirsf/bb/conf/ScopeTest.java b/test/org/kefirsf/bb/conf/ScopeTest.java index <HASH>..<HASH> 100644 --- a/test/org/kefirsf/bb/conf/ScopeTest.java +++ b/test/org/kefirsf/bb/conf/ScopeTest.java @@ -3,6 +3,9 @@ package org.kefirsf.bb.conf; import junit.framework.Assert; import org.junit.Test; +i...
#6 Tests for configuration class Scope.
kefirfromperm_kefirbb
train
aab560b4ee0b627ba19fb77a44f2666a5462c191
diff --git a/telebot/__init__.py b/telebot/__init__.py index <HASH>..<HASH> 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -380,7 +380,7 @@ class TeleBot: def process_middlewares(self, update): for update_type, middlewares in self.typed_middleware_handlers.items(): - if hasattr...
Fix all the time invocations on typed_middleware handlers even if update did not have that update_type message
eternnoir_pyTelegramBotAPI
train
c4403d2c9157a029ced75a18720709ca2711ed62
diff --git a/pycbc/fft/__init__.py b/pycbc/fft/__init__.py index <HASH>..<HASH> 100644 --- a/pycbc/fft/__init__.py +++ b/pycbc/fft/__init__.py @@ -29,6 +29,9 @@ implementations within PyCBC. import pycbc import pycbc.scheme import pycbc.types +from pycbc.types import Array as _Array +from pycbc.types import TimeSeri...
__init__.py import the array, timeseries, and frequencyseries at the beginning, speeding up the isinstance checks.
gwastro_pycbc
train
e6efcb0c73afcb3a3643dfee8cb3e22f5792d594
diff --git a/notario/validators/recursive.py b/notario/validators/recursive.py index <HASH>..<HASH> 100644 --- a/notario/validators/recursive.py +++ b/notario/validators/recursive.py @@ -27,10 +27,12 @@ class AnyObject(BasicRecursiveValidator): try: return validator.leaf(item_index) ...
recursive validators should always pass the tree
alfredodeza_notario
train
66e5886bbb37232b81f05de8f8081f3b735ed7e2
diff --git a/tool/model/src/main/java/org/openscience/cdk/fingerprint/model/Bayesian.java b/tool/model/src/main/java/org/openscience/cdk/fingerprint/model/Bayesian.java index <HASH>..<HASH> 100644 --- a/tool/model/src/main/java/org/openscience/cdk/fingerprint/model/Bayesian.java +++ b/tool/model/src/main/java/org/opens...
Add PerceiveStereo option to Bayesian class
cdk_cdk
train
f08c5fc4a6fc3f293ead8035363a23dba6571e85
diff --git a/planner/core/integration_test.go b/planner/core/integration_test.go index <HASH>..<HASH> 100644 --- a/planner/core/integration_test.go +++ b/planner/core/integration_test.go @@ -2034,3 +2034,24 @@ func (s *testIntegrationSuite) TestCorrelatedColumnAggFuncPushDown(c *C) { "1", )) } + +// Test for issu...
planner: not pruning column used by union scan condition (#<I>)
pingcap_tidb
train
69a9829041238ddb16974c7c7d39005528414816
diff --git a/cypress/integration/rendering/classDiagram.spec.js b/cypress/integration/rendering/classDiagram.spec.js index <HASH>..<HASH> 100644 --- a/cypress/integration/rendering/classDiagram.spec.js +++ b/cypress/integration/rendering/classDiagram.spec.js @@ -275,7 +275,7 @@ describe('Class diagram', () => { im...
Updated test cases for class diagram v2
knsv_mermaid
train
ce2aa74239cd16d23affae37f7f5c0d61e1890d3
diff --git a/lib/Doctrine/MongoDB/Query/Builder.php b/lib/Doctrine/MongoDB/Query/Builder.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/MongoDB/Query/Builder.php +++ b/lib/Doctrine/MongoDB/Query/Builder.php @@ -736,6 +736,22 @@ class Builder } /** + * Set the $language option for $text criteria. + ...
Support $text operator in query builder (fixes #<I>) The $language option is supported via language(), which is similar to how $maxDistance is supported for geo-spatial operators.
doctrine_mongodb
train
8d52404d93aa8673b6e489bc7da4508a1bcd8834
diff --git a/tests/src/AppTest.php b/tests/src/AppTest.php index <HASH>..<HASH> 100644 --- a/tests/src/AppTest.php +++ b/tests/src/AppTest.php @@ -2,6 +2,7 @@ namespace MinorWork; use PHPUnit\Framework\TestCase; +use PHPUnit\Runner\Version as PHPUnitVersion; class AppTest extends TestCase { @@ -26,7 +27,7 @@ cl...
Capability with PHP <I> and phpunit <I>
CQD_minorwork
train
b4affcd804aebadfb1f60aa9030b3a4ea905bb4d
diff --git a/js/jquery.stickytableheaders.js b/js/jquery.stickytableheaders.js index <HASH>..<HASH> 100644 --- a/js/jquery.stickytableheaders.js +++ b/js/jquery.stickytableheaders.js @@ -137,7 +137,7 @@ if (scrolled_past_top && not_scrolled_past_bottom) { newLeft = offset.left - scrollLeft + base.options...
fixed chrome bug: when scrolling past the table and back up again the header would not re-appear.
jmosbech_StickyTableHeaders
train
91edde89798ff189c1d68feba39d6ceb1fbb03c2
diff --git a/javaobj.py b/javaobj.py index <HASH>..<HASH> 100644 --- a/javaobj.py +++ b/javaobj.py @@ -341,15 +341,27 @@ class JavaArray(list, JavaObject): self.classdesc = classdesc -class JavaByteArray(bytearray, JavaObject): +class JavaByteArray(JavaObject): """ Represents the special case of ...
Avoid using bytearray for JavaByteArray Bytes in Java are between -<I> and <I> whereas Python bytearray excepts values between 0 and <I>. See #<I> for references.
tcalmant_python-javaobj
train
46c604a97c9328121db0c98fccc10ae6a56f7530
diff --git a/src/main/java/ixa/kaflib/Coref.java b/src/main/java/ixa/kaflib/Coref.java index <HASH>..<HASH> 100644 --- a/src/main/java/ixa/kaflib/Coref.java +++ b/src/main/java/ixa/kaflib/Coref.java @@ -17,6 +17,10 @@ public class Coref implements TLinkReferable, Serializable { /** Mentions to the same entity (at ...
ExternalReferences added to Corefs
ixa-ehu_kaflib
train
1c0293a399f6312e85d3fed8f78336b40ef8ab12
diff --git a/core/src/main/java/hudson/model/Run.java b/core/src/main/java/hudson/model/Run.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/hudson/model/Run.java +++ b/core/src/main/java/hudson/model/Run.java @@ -331,6 +331,8 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run ...
don't report the duration as 0 when a build is running. git-svn-id: <URL>
jenkinsci_jenkins
train
321c465cf5100c76c54e247030cbd1286f6c2376
diff --git a/src/image/roi/__tests__/paintMask.js b/src/image/roi/__tests__/paintMask.js index <HASH>..<HASH> 100644 --- a/src/image/roi/__tests__/paintMask.js +++ b/src/image/roi/__tests__/paintMask.js @@ -86,6 +86,8 @@ describe('we check paint mask', function () { }); describe('we check paint mask and draw label'...
test: disable tests that require fonts on Travis
image-js_image-js
train
92fe34e6430c31c62d9d387e96e47fa4cbd66bb8
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -1687,7 +1687,7 @@ class BaseCase(unittest.TestCase): timeout = settings.SMALL_TIMEOUT if self.timeo...
Only scroll to iframes before switching to them if identifier is a string
seleniumbase_SeleniumBase
train
6db69c1b6af3e4963166005d56f48e1fb7223346
diff --git a/guard.gemspec b/guard.gemspec index <HASH>..<HASH> 100644 --- a/guard.gemspec +++ b/guard.gemspec @@ -15,15 +15,11 @@ Gem::Specification.new do |s| s.required_rubygems_version = '>= 1.3.6' s.rubyforge_project = 'guard' - s.add_development_dependency 'rspec', '~> 2.0.0' + s.add_developmen...
Removed growl & libnotify dependencies from gemspec
guard_guard
train
1ba3c924236f57bd44c6a72d264bec1d9b6337d2
diff --git a/opal/corelib/number.rb b/opal/corelib/number.rb index <HASH>..<HASH> 100644 --- a/opal/corelib/number.rb +++ b/opal/corelib/number.rb @@ -5,22 +5,6 @@ class Number < Numeric `Number.prototype.$$is_number = true` - def send_coerced(method, other) - begin - a, b = other.coerce(self) - resc...
Move #send_coerced helper to Numeric
opal_opal
train
8d7fa28f97b21061873e27de31cea48d2823b669
diff --git a/lib/cluster/slicer.js b/lib/cluster/slicer.js index <HASH>..<HASH> 100644 --- a/lib/cluster/slicer.js +++ b/lib/cluster/slicer.js @@ -39,6 +39,7 @@ module.exports = function(context) { var inRecoveryMode = false; var hasRecovered = false; var workerFound = false; + var isShuttingDown = fa...
if all workers disconnect, slicer will terminate resolves #<I>
terascope_teraslice
train
7fab73b7b518c25ae73d5581a489852fd86ee68e
diff --git a/src/PermissionRegistrar.php b/src/PermissionRegistrar.php index <HASH>..<HASH> 100644 --- a/src/PermissionRegistrar.php +++ b/src/PermissionRegistrar.php @@ -2,8 +2,8 @@ namespace Spatie\Permission; +use Illuminate\Cache\CacheManager; use Illuminate\Support\Collection; -use Illuminate\Support\Facades...
Remove use of facade, for Lumen compatibility Fixes #<I>
spatie_laravel-permission
train
40954e90400845e23491ab241b575bde859adaca
diff --git a/raiden/network/transport/matrix/transport.py b/raiden/network/transport/matrix/transport.py index <HASH>..<HASH> 100644 --- a/raiden/network/transport/matrix/transport.py +++ b/raiden/network/transport/matrix/transport.py @@ -1114,67 +1114,6 @@ class MatrixTransport(Runnable): for room_alias i...
removed dead code: _get_public_room is not used fix #<I>
raiden-network_raiden
train
5295e9a823c1b1f87eedab97d4c7d9c060735e0c
diff --git a/core/DataFiles/SearchEngines.php b/core/DataFiles/SearchEngines.php index <HASH>..<HASH> 100644 --- a/core/DataFiles/SearchEngines.php +++ b/core/DataFiles/SearchEngines.php @@ -766,7 +766,7 @@ if (!isset($GLOBALS['Piwik_SearchEngines'])) { 'www.skynet.be' => array('Skynet', 'q', ...
fixes #<I> - thanks for the report
matomo-org_matomo
train
b747000cbf906abf772f2123685f12f395c0dca0
diff --git a/TODO b/TODO index <HASH>..<HASH> 100644 --- a/TODO +++ b/TODO @@ -35,8 +35,7 @@ Web tester ---------- Add htmlentities() international fix (1/1) - done. Add WebTestCase::getCookie() method (1/1) - done. -Add assertText() (3). -Make labels HTML entity and tag blind (3/2). +Make labels HTML entity and tag...
Working on entity and tag stripping when matching
simpletest_simpletest
train
7cab8c5aea9dd82337010b3a1c6cb0a0b8360cf1
diff --git a/controller/frontend/src/Controller/Frontend/Basket/Decorator/Bundle.php b/controller/frontend/src/Controller/Frontend/Basket/Decorator/Bundle.php index <HASH>..<HASH> 100644 --- a/controller/frontend/src/Controller/Frontend/Basket/Decorator/Bundle.php +++ b/controller/frontend/src/Controller/Frontend/Baske...
Fixed price calculation in bundles if attributes have an additional price
aimeos_ai-controller-frontend
train
af77e8e53aad53b4feba97a2ce674e41293e038c
diff --git a/xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/internal/DefaultJobProgress.java b/xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/internal/DefaultJobProgress.java index <HASH>..<HASH> 100644 --- a/xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/internal/D...
XCOMMONS-<I>: Job progress serailize a lot of useless stuff
xwiki_xwiki-commons
train
54e73707bebc0d3d0a083f6d9703d36ee86ce77e
diff --git a/ui/app/common/util/SortHelper.js b/ui/app/common/util/SortHelper.js index <HASH>..<HASH> 100644 --- a/ui/app/common/util/SortHelper.js +++ b/ui/app/common/util/SortHelper.js @@ -26,7 +26,7 @@ //Todo: use regular expression to validate every Json object that stores in Local Storage, if not match just...
[NCL-<I>] smaller changes for Project ordering
project-ncl_pnc
train
2d87453260b07e7f605e54cc4b76619ca7945e13
diff --git a/flink-core/src/main/java/org/apache/flink/configuration/HistoryServerOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/HistoryServerOptions.java index <HASH>..<HASH> 100644 --- a/flink-core/src/main/java/org/apache/flink/configuration/HistoryServerOptions.java +++ b/flink-core/src/main...
[FLINK-<I>] Add checkstyle rule to detect multiple consecutive semicolons This closes #<I>.
apache_flink
train
b957515a179b979824aa0a7ef05f582828a6d0f8
diff --git a/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php b/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php +++ b/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php @@ -47,7 +47,7 @@ class TimedTwigEngine e...
[TwigBundle] fixed inheritance in TimedTwigEngine
symfony_symfony
train
65df741de7bdd837dc64f40b1fd3083cc98c9ad3
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb index <HASH>..<HASH> 100644 --- a/lib/oxidized/node.rb +++ b/lib/oxidized/node.rb @@ -53,6 +53,15 @@ module Oxidized end Log.send(level, '%s raised %s%s with msg "%s"' % [self.ip, err.class, resc, err.message]) return false + rescu...
Rescue all StandardError from modules If module crashes with unexpected error class, rescue it, and write it backtrace Also log if unknown model is attempted instead of crash
ytti_oxidized
train
07197db38be0ade571af195a8f54af70a2c9f17f
diff --git a/tests/interfaces/test_ipmitool.py b/tests/interfaces/test_ipmitool.py index <HASH>..<HASH> 100644 --- a/tests/interfaces/test_ipmitool.py +++ b/tests/interfaces/test_ipmitool.py @@ -23,7 +23,7 @@ class TestIpmitool: def test_send_and_receive_raw_valid(self): mock = MagicMock() - mock...
fixed mock tests for ipmitool to return bytes instead of strings
kontron_python-ipmi
train
5f7b834f2d6a6a21cebeb29fe4481cb423703a1c
diff --git a/spyder/plugins/completion/languageserver/confpage.py b/spyder/plugins/completion/languageserver/confpage.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/languageserver/confpage.py +++ b/spyder/plugins/completion/languageserver/confpage.py @@ -72,8 +72,6 @@ class LanguageServerConfigPage(Gene...
Move Show vertical line option under code style tab
spyder-ide_spyder
train
ce5c29fd37912c61ff7913ada1f183d68b79378a
diff --git a/lib/grpc_kit/rpcs/server_streamer.rb b/lib/grpc_kit/rpcs/server_streamer.rb index <HASH>..<HASH> 100644 --- a/lib/grpc_kit/rpcs/server_streamer.rb +++ b/lib/grpc_kit/rpcs/server_streamer.rb @@ -34,7 +34,7 @@ module GrpcKit @handler.send(@config.ruby_style_method_name, request, call) ...
send_trailer to send grpc-status when server-streamer
cookpad_grpc_kit
train
60b7d345e1482737cea14f4434e34b9516e06194
diff --git a/src/Uuid32ModelTrait.php b/src/Uuid32ModelTrait.php index <HASH>..<HASH> 100644 --- a/src/Uuid32ModelTrait.php +++ b/src/Uuid32ModelTrait.php @@ -29,13 +29,15 @@ trait Uuid32ModelTrait public static function bootUuid32ModelTrait() { static::creating(function ($model) { - - // ...
UUID is only generated when not set manually.
alsofronie_eloquent-uuid
train
d5c3d9d9fc396f82b9d9cf3626e99595e15db714
diff --git a/src/Console/Command/CheckCommand.php b/src/Console/Command/CheckCommand.php index <HASH>..<HASH> 100644 --- a/src/Console/Command/CheckCommand.php +++ b/src/Console/Command/CheckCommand.php @@ -131,4 +131,4 @@ EOF return 0; } -} \ No newline at end of file +} diff --git a/src/DetectorFactor...
Renamed DetectorFactory::buildDetector to DetectorFactory::create
sensiolabs-de_deprecation-detector
train
d391c2034292927af3c78f2c6725bd33abc8bee9
diff --git a/consoleprinter/__init__.py b/consoleprinter/__init__.py index <HASH>..<HASH> 100644 --- a/consoleprinter/__init__.py +++ b/consoleprinter/__init__.py @@ -355,6 +355,27 @@ class FastList(object): return len(list(self.dictlist.keys())) +class Colors(object): + """ + Colors + """ + bl...
Vladimir Lenin: Our ignorance of history causes us to slander our own times. Tuesday <I> June <I> (week:<I> day:<I>), <I>:<I>:<I>
erikdejonge_consoleprinter
train
0a1da122e2ef3e58a45ab9e644933a67aea10660
diff --git a/lib/gds_api/publisher.rb b/lib/gds_api/publisher.rb index <HASH>..<HASH> 100644 --- a/lib/gds_api/publisher.rb +++ b/lib/gds_api/publisher.rb @@ -25,6 +25,11 @@ class GdsApi::Publisher < GdsApi::Base end end + def licences_for_ids(ids) + response = get_json("#{@endpoint}/licences.json?ids=#{i...
Add method for retreiving licence details from publisher
alphagov_gds-api-adapters
train
563a5cb3c3548111880a8a6886c5b7f494cd901c
diff --git a/src/streamlink/plugins/pluzz.py b/src/streamlink/plugins/pluzz.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/pluzz.py +++ b/src/streamlink/plugins/pluzz.py @@ -3,9 +3,10 @@ import re import sys import time -from streamlink.plugin import Plugin +from streamlink.plugin import Plugin, Plugin...
Add subtitle support for pluzz plugins (#<I>)
streamlink_streamlink
train
33776a80930fe7b6a199b1b86fd8a78786e176e2
diff --git a/imgurpython/client.py b/imgurpython/client.py index <HASH>..<HASH> 100644 --- a/imgurpython/client.py +++ b/imgurpython/client.py @@ -586,13 +586,13 @@ class ImgurClient(object): fd = open(path, 'rb') contents = fd.read() b64 = base64.b64encode(contents) - data = { ...
closed file in upload_from_path The file no longer remains open after calling upload_from_path(). This would previously throw warnings.
Imgur_imgurpython
train
b59673155cc0e9fd300e33115cd02d99093bf43c
diff --git a/site/src/routes/repl/[id]/index.json.js b/site/src/routes/repl/[id]/index.json.js index <HASH>..<HASH> 100644 --- a/site/src/routes/repl/[id]/index.json.js +++ b/site/src/routes/repl/[id]/index.json.js @@ -73,6 +73,18 @@ export async function get(req, res) { }); } + if (process.env.NODE_ENV === 'dev...
site: in dev mode, proxy /repl/[id].json requests to real server
sveltejs_svelte
train
a4911d96867ab9fb60705cc766aac39c7757bda9
diff --git a/lib/crafity.types.js b/lib/crafity.types.js index <HASH>..<HASH> 100644 --- a/lib/crafity.types.js +++ b/lib/crafity.types.js @@ -83,6 +83,9 @@ function Types() { if (typeof(name) === 'object' && name.name && name.version) { version = name.version; name = name.name; + } else if (typeof(name...
Added a getAll() function to get all the types
Crafity_crafity-types
train
bad3f9ea429b63d6c4d7eabbbe7d673ec92ed9b0
diff --git a/lxd/storage_lvm.go b/lxd/storage_lvm.go index <HASH>..<HASH> 100644 --- a/lxd/storage_lvm.go +++ b/lxd/storage_lvm.go @@ -256,7 +256,22 @@ func (s *storageLvm) StoragePoolCreate() error { logger.Errorf("failed to determine whether the volume group \"%s\" is empty", poolName) return err } - if c...
lvm: allow re-using existing thinpools Closes #<I>.
lxc_lxd
train
a57813743d3ce01c6d4ab3dd66fc0730f722582f
diff --git a/test/specs/adapter-put.spec.js b/test/specs/adapter-put.spec.js index <HASH>..<HASH> 100644 --- a/test/specs/adapter-put.spec.js +++ b/test/specs/adapter-put.spec.js @@ -52,6 +52,29 @@ describe("adapter:put", function() { }); + describe("createWriteStream", function() { + + before(functi...
Add test for writable stream
perry-mitchell_webdav-client
train
bb1070c94e289bfef8aef177a1ea2be7702b33ac
diff --git a/src/Kunstmaan/ArticleBundle/Entity/AbstractAuthor.php b/src/Kunstmaan/ArticleBundle/Entity/AbstractAuthor.php index <HASH>..<HASH> 100644 --- a/src/Kunstmaan/ArticleBundle/Entity/AbstractAuthor.php +++ b/src/Kunstmaan/ArticleBundle/Entity/AbstractAuthor.php @@ -5,15 +5,8 @@ namespace Kunstmaan\ArticleBundl...
[ArticleBundle] Remove deprecated code
Kunstmaan_KunstmaanBundlesCMS
train
86fea51e19e7fc25bbda654f14d59d0273f616c0
diff --git a/horizon/static/angular/modal/modal.js b/horizon/static/angular/modal/modal.js index <HASH>..<HASH> 100644 --- a/horizon/static/angular/modal/modal.js +++ b/horizon/static/angular/modal/modal.js @@ -78,10 +78,10 @@ resolve: { context: function() { return { ...
Fix logic in modal to accept cancel param Fixes logic so that cancel parameter overrides the default. Removed defaults for title and body when they are in fact required by logic. Change-Id: Ic<I>ee3ab<I>bcd<I>b<I>e4d<I> Closes-Bug: <I>
openstack_horizon
train
031ec8b3d599a0d979a6b4238981182671084ce9
diff --git a/src/field/Field.php b/src/field/Field.php index <HASH>..<HASH> 100644 --- a/src/field/Field.php +++ b/src/field/Field.php @@ -188,12 +188,7 @@ class Field implements FieldInterface { * @return string */ public function getInitial() { - if ($this->getType() !== "literal" && $this->wa...
Stop field from filling its own initial value.
AthensFramework_Core
train
1b212127826f185da16d4ad3dda839319cb31971
diff --git a/fcm_django/models.py b/fcm_django/models.py index <HASH>..<HASH> 100644 --- a/fcm_django/models.py +++ b/fcm_django/models.py @@ -35,12 +35,12 @@ class Device(models.Model): def __str__(self): return ( self.name - or str(getattr(self, "device_id", "")) + or ...
Fix model manager calling queryset * The fix here avoids a new migration
xtrinch_fcm-django
train
c709a708cf90e8e554adb6284bd6f3dadf33cd89
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -290,10 +290,15 @@ func (c *Client) checksumFile(resp *Response) stateFunc { // compare checksum sum := resp.Request.hash.Sum(nil) if !bytes.Equal(sum, resp.Request.checksum) { + resp.err = ErrBadChecksum if resp...
Propagate os.Remove errors on failed checksum
cavaliercoder_grab
train
c826e6899c884af9f3365ab77b95449a68889afe
diff --git a/packages-serverless/egg-layer/index.js b/packages-serverless/egg-layer/index.js index <HASH>..<HASH> 100644 --- a/packages-serverless/egg-layer/index.js +++ b/packages-serverless/egg-layer/index.js @@ -57,8 +57,10 @@ module.exports = engine => { if (eggApp.config.proxy && !context.headers['X-Forwa...
fix: encode request path in serverless (#<I>)
midwayjs_midway
train
133d641a5fa2f9a585d06872ebb520286c3489e3
diff --git a/Adapter/DoctrineChangesFetcher.php b/Adapter/DoctrineChangesFetcher.php index <HASH>..<HASH> 100644 --- a/Adapter/DoctrineChangesFetcher.php +++ b/Adapter/DoctrineChangesFetcher.php @@ -6,6 +6,7 @@ namespace Daimos\ChangesFetcher\Adapter; use Daimos\ChangesFetcher\ChangesFetcher; use Doctrine\ORM\Entit...
catch MappingException for unregistered entities
KamilKopaczyk_entity-changes-fetcher
train
430ca16aa819689244454d8a67e8c8321edf2fc5
diff --git a/src/client/js/Panels/Header/PluginToolbar.js b/src/client/js/Panels/Header/PluginToolbar.js index <HASH>..<HASH> 100644 --- a/src/client/js/Panels/Header/PluginToolbar.js +++ b/src/client/js/Panels/Header/PluginToolbar.js @@ -61,7 +61,7 @@ define(['js/Dialogs/PluginResults/PluginResultsDialog'], function (...
Refactor out dialog from (Client)InterpreterManager and add silent option for run. Former-commit-id: <I>a<I>f0b3e<I>d5d<I>e4b4e3e<I>c<I>a
webgme_webgme-engine
train
aa5e6782ee82ca0fa2fd45bcd79b95411cba1bc6
diff --git a/lib/cequel/util.rb b/lib/cequel/util.rb index <HASH>..<HASH> 100644 --- a/lib/cequel/util.rb +++ b/lib/cequel/util.rb @@ -54,7 +54,7 @@ module Cequel include ::Forwardable def delegate(*args, &block) - return super if args.size == 1 + return super if args.one? Module....
Change to use one? instead of == 1
cequel_cequel
train
b7814203ca0ba7a41a525e955bd6b03ddbd7e29b
diff --git a/templates/html_report/index.php b/templates/html_report/index.php index <HASH>..<HASH> 100644 --- a/templates/html_report/index.php +++ b/templates/html_report/index.php @@ -74,8 +74,8 @@ require __DIR__ . '/_header.php'; ?> </div> </div> ...
Fix bug with dots in the carousel + add titles on dots for accessibility.
phpmetrics_PhpMetrics
train
3fd7d9e238636ce3ac711ffc6d0133583f348b9a
diff --git a/library/Imbo/Http/Request/Request.php b/library/Imbo/Http/Request/Request.php index <HASH>..<HASH> 100644 --- a/library/Imbo/Http/Request/Request.php +++ b/library/Imbo/Http/Request/Request.php @@ -218,6 +218,8 @@ class Request implements RequestInterface { $chain->flipHorizontally(); ...
Added maxSize-transformation to transformation chain and request.
imbo_imbo
train
f93ea31339cb2c835fff5f4cf3ea4696b4c8af78
diff --git a/lib/modules/ws-server.js b/lib/modules/ws-server.js index <HASH>..<HASH> 100644 --- a/lib/modules/ws-server.js +++ b/lib/modules/ws-server.js @@ -93,7 +93,7 @@ module.exports = function createWsServer(httpServer, options){ var wsServer = socket_io(httpServer, { serveClient: false }); var clientCount ...
fix path for socket.io-client library
basisjs_basisjs-tools-server
train
b8ab4089369abd92bc63e03e1d40f4777680a73d
diff --git a/src/main/java/com/basho/riak/client/query/MapReduce.java b/src/main/java/com/basho/riak/client/query/MapReduce.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/basho/riak/client/query/MapReduce.java +++ b/src/main/java/com/basho/riak/client/query/MapReduce.java @@ -153,7 +153,11 @@ public abstract ...
Ensure map/reduce function argument is encoded and sent to server
basho_riak-java-client
train
fc87859a20c56fb39fd305e7fef44b322f1882cb
diff --git a/trollsift/parser.py b/trollsift/parser.py index <HASH>..<HASH> 100644 --- a/trollsift/parser.py +++ b/trollsift/parser.py @@ -175,7 +175,7 @@ class RegexFormatter(string.Formatter): # special string to mark a parameter not being specified UNPROVIDED_VALUE = '<trollsift unprovided value>' - E...
Fix backslashes in regex patterns on Windows
pytroll_trollsift
train
abb1ceef0ffada2b8c50910d34c501f24b9dc44b
diff --git a/xmemcached-provider/src/main/java/com/google/code/ssm/providers/xmemcached/MemcacheClientFactoryImpl.java b/xmemcached-provider/src/main/java/com/google/code/ssm/providers/xmemcached/MemcacheClientFactoryImpl.java index <HASH>..<HASH> 100644 --- a/xmemcached-provider/src/main/java/com/google/code/ssm/provi...
[Issue <I>] Add connect timeout and other settings from CacheClientFactory in xmemcached provider
ragnor_simple-spring-memcached
train
cbc545efd64280729f7f7c2931f29a43c2fadcfd
diff --git a/common/lib/common/amqp.rb b/common/lib/common/amqp.rb index <HASH>..<HASH> 100644 --- a/common/lib/common/amqp.rb +++ b/common/lib/common/amqp.rb @@ -335,7 +335,7 @@ module RightScale begin packet = @serializer.load(msg) if options.key?(packet.class) - unless options[:no_l...
Fix debug handling in HA_MQ publish and receive
rightscale_right_agent
train
16c3e967343fe581620134b5386541ec517f65a3
diff --git a/nion/swift/ComputationPanel.py b/nion/swift/ComputationPanel.py index <HASH>..<HASH> 100644 --- a/nion/swift/ComputationPanel.py +++ b/nion/swift/ComputationPanel.py @@ -1080,7 +1080,9 @@ class VariableHandler: self.document_controller = document_controller self.computation = computation ...
Work around slider bug QTBUG-<I>.
nion-software_nionswift
train
0117d7487be1a0351eb9f76ab77d1dbc66928a23
diff --git a/src/Mutator/Regex/PregQuote.php b/src/Mutator/Regex/PregQuote.php index <HASH>..<HASH> 100644 --- a/src/Mutator/Regex/PregQuote.php +++ b/src/Mutator/Regex/PregQuote.php @@ -32,7 +32,7 @@ final class PregQuote extends Mutator protected function mutatesNode(Node $node): bool { return $nod...
Improve PregQuote check (#<I>) If the node is anything other than the direct function call we can't determine what it is, so we should skip it. Should fix the error in #<I>
infection_infection
train
23ba45b6606531bd78a41144d7ffad708b836794
diff --git a/frontend/components/search.js b/frontend/components/search.js index <HASH>..<HASH> 100644 --- a/frontend/components/search.js +++ b/frontend/components/search.js @@ -27,7 +27,6 @@ class Search { } if (!termId || termId.length !== 6) { - debugger console.log("No termId given in front...
Removed a debugger statement
ryanhugh_searchneu
train
0719b115440d059a4d64d1a2892efda38281dff2
diff --git a/src/sbp/sbp.php b/src/sbp/sbp.php index <HASH>..<HASH> 100644 --- a/src/sbp/sbp.php +++ b/src/sbp/sbp.php @@ -497,6 +497,9 @@ namespace sbp '#'.self::START.'<(?![\?=])#' => '$1return ', + '#'.self::START.'@f\s+('.self::VALIDNAME.')#' + => '$1if-defined-function $2', + '#'.self::STA...
@f to declare function if it's not already defined
kylekatarnls_sbp
train
8f9c9ac8898339e52cc5e92a6b85c90f8c9c3d80
diff --git a/packages/enchannel-zmq-backend/src/index.js b/packages/enchannel-zmq-backend/src/index.js index <HASH>..<HASH> 100644 --- a/packages/enchannel-zmq-backend/src/index.js +++ b/packages/enchannel-zmq-backend/src/index.js @@ -43,12 +43,16 @@ export function createMainChannelFromChannels(shell, control, stdin, ...
Add break statement to switch clause (#<I>)
nteract_nteract
train
15308381a3613736e049b5d9bbaffd69483320be
diff --git a/steam_idle.py b/steam_idle.py index <HASH>..<HASH> 100755 --- a/steam_idle.py +++ b/steam_idle.py @@ -237,6 +237,8 @@ def main_idle(apps): p = Idle(appid, args) p.start() processes.append((endtime, p)) + # Steam client will crash if childs spawn too fast; F...
Steam client will crash if childs spawn too fast; Fixes #1
jayme-github_steam_idle
train
7cb3e135de45c354a80f1873356d8d99b81f59e1
diff --git a/spec/unit/rest_spec.rb b/spec/unit/rest_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/rest_spec.rb +++ b/spec/unit/rest_spec.rb @@ -497,7 +497,7 @@ describe Chef::REST do it "closes and unlinks the tempfile when the response is a redirect" do Tempfile.rspec_reset - tempfile =...
Add the binmode method to mock tempfile object.
chef_chef
train
e6c0b73dfb07a83c4a8a29289553b1daf6815a37
diff --git a/qgiscommons/networkaccessmanager.py b/qgiscommons/networkaccessmanager.py index <HASH>..<HASH> 100644 --- a/qgiscommons/networkaccessmanager.py +++ b/qgiscommons/networkaccessmanager.py @@ -129,7 +129,7 @@ class NetworkAccessManager(object): 'status' - http code result come from reply.attribut...
renamed returned self.http_call_result.text to self.http_call_result.content because returned bytes
boundlessgeo_lib-qgis-commons
train
78447d00cde9da9b955fff9b699510bfb790083c
diff --git a/dist/smart-area.js b/dist/smart-area.js index <HASH>..<HASH> 100644 --- a/dist/smart-area.js +++ b/dist/smart-area.js @@ -87,7 +87,7 @@ angular.module('smartArea', []) scope.fakeAreaElement = angular.element($compile('<div class="sa-fakeArea" ng-trim="false" ng-bind-html="fakeArea"></div>')(sc...
Remove menu filter It wasn't used and gave unreliable results
aurbano_smart-area
train
d65c0f27058855b97ddce66a7e50da191facec7f
diff --git a/zarr/tests/test_storage.py b/zarr/tests/test_storage.py index <HASH>..<HASH> 100644 --- a/zarr/tests/test_storage.py +++ b/zarr/tests/test_storage.py @@ -986,7 +986,7 @@ class TestFSStore(StoreTests): chunks=(2, 2, 2), dtype="i8") ...
iRemove unnecessary literal (#<I>)
zarr-developers_zarr
train
82980794a995ae0e25fa4e03228fa0ecf12bf734
diff --git a/acorn_loose.js b/acorn_loose.js index <HASH>..<HASH> 100644 --- a/acorn_loose.js +++ b/acorn_loose.js @@ -160,12 +160,20 @@ function closesBlock(closeTok, indent, line) { if (token.type === closeTok || token.type === tt.eof) return true; - if (line != curLineStart && curIndent < indent && + ...
Fix bug in expression-terminating heuristic Dedented tokens should only end an expression if they are actually the first token on the line. This to prevent code like this from going wrong: x = (function(..) { blah(); })(); // <-- indented same as start of expression
babel_babylon
train
0e75332686f64768ca5b6091aaddadd819b3efdc
diff --git a/fcache.py b/fcache.py index <HASH>..<HASH> 100644 --- a/fcache.py +++ b/fcache.py @@ -98,15 +98,15 @@ class Cache(object): self._create() self.flush() - def set(self, name, value, timeout=None): + def set(self, key, value, timeout=None): """Store data in the cache...
Updated to reflect key/value language.
tsroten_fcache
train
34cc488e901717a718dd7576a24400c69a9972c8
diff --git a/views/mdc/assets/js/components/mixins/visibility-observer.js b/views/mdc/assets/js/components/mixins/visibility-observer.js index <HASH>..<HASH> 100644 --- a/views/mdc/assets/js/components/mixins/visibility-observer.js +++ b/views/mdc/assets/js/components/mixins/visibility-observer.js @@ -25,7 +25,7 @@ exp...
ShadowDOM compatability for web components - .getRootNode() will return the root node for an element. Be it a shadow dom or document. - shadow dom doesn't have `documentElement`, get `host` from it
rx_presenters
train
bea9531a784f8518fa7106aa0111eb23f8527c78
diff --git a/auth/db/lang/en/auth_db.php b/auth/db/lang/en/auth_db.php index <HASH>..<HASH> 100644 --- a/auth/db/lang/en/auth_db.php +++ b/auth/db/lang/en/auth_db.php @@ -42,10 +42,10 @@ $string['auth_dbchangepasswordurl_key'] = 'Password-change URL'; $string['auth_dbinsertuser'] = 'Inserted user {$a->name} id {$a->id...
MDL-<I> lang string update thanks to Inaki Arenaza and Angelo Pappano
moodle_moodle
train
d70dc567b76ec2be011bf2d8c57de62d069a91b4
diff --git a/web/concrete/core/helpers/text.php b/web/concrete/core/helpers/text.php index <HASH>..<HASH> 100644 --- a/web/concrete/core/helpers/text.php +++ b/web/concrete/core/helpers/text.php @@ -25,7 +25,7 @@ class Concrete5_Helper_Text { $text = URLify::downcode($text, $language); if(preg_match('/[^\\t\\r\\n...
IGNORE must be before TRANSLIT in iconv Former-commit-id: <I>cd9eb<I>d8e<I>e1ecfb<I>d<I>f5de5c<I>dc
concrete5_concrete5
train
3bc47924a9f1ac2e144453a9859c04afa8b6841d
diff --git a/pkg/kubectl/delete.go b/pkg/kubectl/delete.go index <HASH>..<HASH> 100644 --- a/pkg/kubectl/delete.go +++ b/pkg/kubectl/delete.go @@ -404,6 +404,11 @@ func (reaper *DeploymentReaper) Stop(namespace, name string, timeout time.Durati if err != nil { return err } + if deployment.Initializers != nil { +...
fix bug on kubectl deleting uninitialized resources
kubernetes_kubernetes
train
765d96e8ebc6f45b345e8a446516c973792914ab
diff --git a/builder/vsphere/iso/builder.go b/builder/vsphere/iso/builder.go index <HASH>..<HASH> 100644 --- a/builder/vsphere/iso/builder.go +++ b/builder/vsphere/iso/builder.go @@ -60,6 +60,11 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack ) } + // default Firmware to "" si...
unset HardwareConfig.Firmware since CreateConfig.Firmware configures the firmware in StepCreateVM
hashicorp_packer
train
0a7b27e87bbd7c7a7d58619965656140223f0347
diff --git a/in/kafkamdm/kafkamdm.go b/in/kafkamdm/kafkamdm.go index <HASH>..<HASH> 100644 --- a/in/kafkamdm/kafkamdm.go +++ b/in/kafkamdm/kafkamdm.go @@ -226,6 +226,7 @@ func NewOffsetMgr(dir string) (*OffsetMgr, error) { db, err := leveldb.OpenFile(dbFile, &opt.Options{}) if err != nil { if _, ok := err.(*stor...
improve logging for kafkaMdm
grafana_metrictank
train
2662f522998cad93a33ec2ea40db890b35d56ed4
diff --git a/lib/cli-easy/batch.js b/lib/cli-easy/batch.js index <HASH>..<HASH> 100644 --- a/lib/cli-easy/batch.js +++ b/lib/cli-easy/batch.js @@ -63,11 +63,31 @@ Batch.prototype.use = function (command) { // (Even if it was changed with `.arg()` in sub-batch) // Batch.prototype.arg = function (arg) { - this._batch...
[api] Allow for Batch.arg to also take an Array
vowsjs_cli-easy
train
ce71901a8acce158905d739328998d3dc143139e
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `histogram_interval` parameter is now deprecated in `TensorboardWriter`, please use `distribution_interval` ins...
Update torchvision requirement from <<I>,>=<I> to >=<I>,<<I> (#<I>) * Update torchvision requirement from <<I>,>=<I> to >=<I>,<<I> * Fix in-place op on leaf-tensor view * Make the test less strict
allenai_allennlp
train
6101448137cedc2d862494b71a66306408f0bb33
diff --git a/lib/fuzzy-logic/generate.rb b/lib/fuzzy-logic/generate.rb index <HASH>..<HASH> 100644 --- a/lib/fuzzy-logic/generate.rb +++ b/lib/fuzzy-logic/generate.rb @@ -99,6 +99,14 @@ module FuzzyLogic } end + def self.not(seta) + raise ArgumentError, "Argument should be a fuzzy-set" unless seta...
added not combination-generator for fuzzy-sets
addisaden_fuzzy-logic
train
9626321fb25317f1e2163edfe5f2a1953f82b174
diff --git a/sisu-inject/containers/guice-plexus/guice-plexus-shim/src/main/java/org/codehaus/plexus/ComponentDescriptorBeanModule.java b/sisu-inject/containers/guice-plexus/guice-plexus-shim/src/main/java/org/codehaus/plexus/ComponentDescriptorBeanModule.java index <HASH>..<HASH> 100644 --- a/sisu-inject/containers/gu...
SISU-<I>: make sure non-Java Plexus components are fully injected
sonatype_sisu
train
712a0950d1fb247a0b4c4e57eb7fad1567cf2ae3
diff --git a/tests/src/com/badlogic/ashley/tests/BasicTest.java b/tests/src/com/badlogic/ashley/tests/BasicTest.java index <HASH>..<HASH> 100644 --- a/tests/src/com/badlogic/ashley/tests/BasicTest.java +++ b/tests/src/com/badlogic/ashley/tests/BasicTest.java @@ -66,7 +66,7 @@ public class BasicTest { @Override ...
Fixes deprecation errors from ashley-tests
libgdx_ashley
train
d5ae9eed606d3e763ea02a67ef10e0507d0eeda8
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -326,11 +326,21 @@ we.hooks.on('bootstrap', [ }); }); }, + /** + * Bind all resources in App + * + * @param {Object} we + * @param {Function} next + */ function bindResources(we...
add try and catch to get set resource erros
wejs_we-core
train
f9cb58148c85b99b3829a496c3b8f6fc25c99a95
diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index <HASH>..<HASH> 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -286,3 +286,20 @@ def test_multi_function_flexible_mix(df): w...
<I>: test for groupby.agg coercing booleans (#<I>)
pandas-dev_pandas
train
f4ad831fb583112ec736a140299feaafa6de31d1
diff --git a/src/router-directive.es5.js b/src/router-directive.es5.js index <HASH>..<HASH> 100644 --- a/src/router-directive.es5.js +++ b/src/router-directive.es5.js @@ -109,7 +109,7 @@ function routerFactory($$rootRouter, $rootScope, $location, $$grammar, $controll * ## Use * * ```html - * <div router-viewport=...
docs(1.x): update directive names to ngLink and ngViewPort
angular_router
train
8b1ffbab9272eab96789328cf67aff52cd7568b2
diff --git a/sensors.js b/sensors.js index <HASH>..<HASH> 100644 --- a/sensors.js +++ b/sensors.js @@ -367,9 +367,7 @@ module.exports.ALL_SENSOR_PACKETS = _(module.exports).pick(function (p) { }).values().sortBy('id').value(); // create a map of packet ids to packets -module.exports.SENSOR_PACKETS_BY_ID = {} -_.eac...
Simplify packet id map creation
jasontbradshaw_irobot
train
4d19b87b49b2aef5b2e11e7f94d2daf314818581
diff --git a/src/main/java/net/openhft/chronicle/network/TcpEventHandler.java b/src/main/java/net/openhft/chronicle/network/TcpEventHandler.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/openhft/chronicle/network/TcpEventHandler.java +++ b/src/main/java/net/openhft/chronicle/network/TcpEventHandler.java @@ -2...
taken the the thread checkout because it was causing issues with the demo
OpenHFT_Chronicle-Network
train
c98826b6ead00bb89956f8bedf6458645198a7a2
diff --git a/tests/Types/Inline/ChosenInlineResultTest.php b/tests/Types/Inline/ChosenInlineResultTest.php index <HASH>..<HASH> 100644 --- a/tests/Types/Inline/ChosenInlineResultTest.php +++ b/tests/Types/Inline/ChosenInlineResultTest.php @@ -1,15 +1,96 @@ <?php -/** - * Created by PhpStorm. - * User: iGusev - * Date:...
Added tests for ChosenInlineResult type
TelegramBot_Api
train
e60297fbdfa58c2f539eb184d5c06a86ca54ba8c
diff --git a/src/Everon/FileSystem.php b/src/Everon/FileSystem.php index <HASH>..<HASH> 100644 --- a/src/Everon/FileSystem.php +++ b/src/Everon/FileSystem.php @@ -286,4 +286,43 @@ class FileSystem implements Interfaces\FileSystem { return new FileSystem\TmpFile(); } + + + /** + * @inheritdoc +...
Added move_uploaded_file, copy and rename to FileSystem
oliwierptak_Everon1
train
47781a95b8b7b1cd9f9248f393ea174eec60c11a
diff --git a/src/Guzzle/Http/EntityBody.php b/src/Guzzle/Http/EntityBody.php index <HASH>..<HASH> 100644 --- a/src/Guzzle/Http/EntityBody.php +++ b/src/Guzzle/Http/EntityBody.php @@ -85,8 +85,10 @@ class EntityBody extends Stream implements EntityBodyInterface public static function fromString($string) { ...
Only doing fwrite and rewind in stream factory when data is present
guzzle_guzzle3
train
195423b5e7862931cbace4a28e92f939ab0df704
diff --git a/src/DataCollector/ViewCollector.php b/src/DataCollector/ViewCollector.php index <HASH>..<HASH> 100644 --- a/src/DataCollector/ViewCollector.php +++ b/src/DataCollector/ViewCollector.php @@ -85,7 +85,7 @@ class ViewCollector extends TwigCollector { } } - if(empty($templates) || ! $vars=$profil...
Fix notice error when view rendering is disabled due $profiler->params is undefined when view rendering is disabled, PHP produce notice error that cause issues for AJAX calls
snowair_phalcon-debugbar
train
3037b9f8d858ab0e263f1e1f06bac9459c0aa8c8
diff --git a/src/util/importUtil.js b/src/util/importUtil.js index <HASH>..<HASH> 100644 --- a/src/util/importUtil.js +++ b/src/util/importUtil.js @@ -10,7 +10,7 @@ function getNameFromCjsRequire(init) { const isFullLodashImport = str => /^lodash(-es)?$/.test(str) const getMethodImportFromName = str => { - const...
add support for single method package imports in LodashContext
wix_eslint-plugin-lodash
train
38d71c9bf94324d3a740ea8b735d564e215c844c
diff --git a/lib/puppet-lint/data.rb b/lib/puppet-lint/data.rb index <HASH>..<HASH> 100644 --- a/lib/puppet-lint/data.rb +++ b/lib/puppet-lint/data.rb @@ -109,7 +109,7 @@ class PuppetLint::Data marker = 0 result = [] tokens.select { |t| t.type == :COLON }.each do |colon_token| - if c...
Missing call to type attribute in resource_indexes
rodjek_puppet-lint
train
44392d9c081fd0a1ed576513592b819a3373e6ad
diff --git a/src/Writer.php b/src/Writer.php index <HASH>..<HASH> 100644 --- a/src/Writer.php +++ b/src/Writer.php @@ -68,7 +68,7 @@ final class Writer { Shapes::toArray($map), ); $map = var_export($map, true); - + $root = var_export($this->root.'/', true); $code = <<<EOF <?hh @@ -76,7 +76,7...
Set a real root path for autoload maps Fixes issues about where the map is loaded from (eg root or vendor/)
hhvm_hhvm-autoload
train
707e7e12d2d73013b9a8cf1a383c6d4c24dbb363
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -173,7 +173,7 @@ function getNode (result, opts) { result.value = `( ${result.value} )` const ast = opts.parse(result.value, opts) - const body = ast.program && ast.program.body || ast.body + const body = (as...
fix(package): fix linting
tunnckoCoreLabs_parse-function
train
c171ed77b8cfc6a2f01e59f3d9f19eabad30da9d
diff --git a/alphatwirl/progressbar/ProgressReporter.py b/alphatwirl/progressbar/ProgressReporter.py index <HASH>..<HASH> 100755 --- a/alphatwirl/progressbar/ProgressReporter.py +++ b/alphatwirl/progressbar/ProgressReporter.py @@ -63,8 +63,8 @@ class ProgressReporter(object): def _needToReport(self, report): ...
change the way to check first and last reports
alphatwirl_alphatwirl
train
4278f64ae1e504ef37c341ea890adc5c3d486d7a
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -1,9 +1,13 @@ # -*- encoding: utf-8 -*- +import django import six from datetime import datetime, date, time from decimal import Decimal -TEST_RUNNER = 'discover_runner.DiscoverRunner' ...
Only use the external discover runner old Djangos.
jazzband_django-constance
train
1dfd6373ee4d1cdcc224892b5bdf8c450036a7ff
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ following rules are enabled by default: * `aws_cli` &ndash; fixes misspelled commands like `aws dynamdb scan`; * `cargo` &ndash; runs `cargo build` instead of `cargo`; * `cargo_no_command` &ndash; fixes...
Stop parsing language-variable cat output to make cat_dir more reliable. (#<I>) * Stop parsing language-variable cat output to make cat_dir more reliable. * Add missing semicolon in readme
nvbn_thefuck
train