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
0d341dbf9725d923a3fa9ad9e670859cdaf3a8a6
diff --git a/glue/__init__.py b/glue/__init__.py index <HASH>..<HASH> 100644 --- a/glue/__init__.py +++ b/glue/__init__.py @@ -4,6 +4,10 @@ # __author__ = 'Duncan Brown <dbrown@ligo.caltech.edu>' __date__ = '$Date$' -__version__ = '$Name$' +__cvs_tag__ = '$Name$' +try: + __version__ = __cvs_tag__.split('-')[1] + '....
addded version handling as requested by Igor in pr-<I>
gwastro_pycbc-glue
train
py
fbb57b5acea08b012a02a4c6ee9f08c29a7f0878
diff --git a/lib/http/timeout/per_operation.rb b/lib/http/timeout/per_operation.rb index <HASH>..<HASH> 100644 --- a/lib/http/timeout/per_operation.rb +++ b/lib/http/timeout/per_operation.rb @@ -59,6 +59,8 @@ module HTTP # Read data from the socket def readpartial(size) loop do + ...
Add JRuby errata note about SSL and :exception => false
httprb_http
train
rb
fb158c3e8fad8c0edec4c38a8fb6488ce7a179e7
diff --git a/tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php b/tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php index <HASH>..<HASH> 100644 --- a/tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php +++ b/tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php @@ -208,4 +208,17 @@ class SchemaTest extends \PHPUnit_Framework_TestCase...
[DBAL-<I>] Test for change
doctrine_dbal
train
php
1f00b374813009156634a698b0e76229eabf52dd
diff --git a/lib/scorpio/openapi.rb b/lib/scorpio/openapi.rb index <HASH>..<HASH> 100644 --- a/lib/scorpio/openapi.rb +++ b/lib/scorpio/openapi.rb @@ -147,6 +147,12 @@ module Scorpio parameter['in'] == 'body' end end + + def request_schema + if body_parameter && body_par...
OpenAPI::V2::Operation#request_schema
notEthan_jsi
train
rb
76d35886194c14f34b723add36d8498bc400e481
diff --git a/sark/ui.py b/sark/ui.py index <HASH>..<HASH> 100644 --- a/sark/ui.py +++ b/sark/ui.py @@ -168,8 +168,12 @@ class NXGraph(idaapi.GraphViewer): def _make_unique_title(self, title): """Make the title unique. - Adds a counter to the title to prevent duplicates (which can result - ...
Added documentation to account for a bugfix in IDA <I>.
tmr232_Sark
train
py
5314cad272439e0cd2d13908c432c9d4083eaadf
diff --git a/class-kirki-autoload.php b/class-kirki-autoload.php index <HASH>..<HASH> 100644 --- a/class-kirki-autoload.php +++ b/class-kirki-autoload.php @@ -19,15 +19,6 @@ class Kirki_Autoload { /** - * The transient name. - * - * @access private - * @since 3.0.10 - * @var string - */ - private $transient_...
Don't cache paths with transients
aristath_kirki
train
php
3e275494e1eb180c6e13b352cf765acc4ee4a313
diff --git a/cake/libs/model/datasources/dbo_source.php b/cake/libs/model/datasources/dbo_source.php index <HASH>..<HASH> 100755 --- a/cake/libs/model/datasources/dbo_source.php +++ b/cake/libs/model/datasources/dbo_source.php @@ -475,9 +475,6 @@ class DboSource extends DataSource { if ($data === '*') { return '...
Removing duplicated condition from merge.
cakephp_cakephp
train
php
9e42ea06858240f1cfdb200b739ca04423767f0a
diff --git a/edalize/symbiyosys.py b/edalize/symbiyosys.py index <HASH>..<HASH> 100644 --- a/edalize/symbiyosys.py +++ b/edalize/symbiyosys.py @@ -112,8 +112,8 @@ You can reproduce the example above with something like } } - def __init__(self, edam=None, work_root=None, eda_api=None): - super(...
Add missing verbose argument to symbiyosys backend Like Quartus, this subclass of Edatool has its own __init__ method. The base class gained a "verbose" argument in <I>f6a<I> (November <I>) and Fusesoc started using it in f4fbaebf (April <I>), which breaks things.
olofk_edalize
train
py
f6a82445dd897243dbb526e344ef5c5199b390cc
diff --git a/lib/executor/externally-controlled.go b/lib/executor/externally-controlled.go index <HASH>..<HASH> 100644 --- a/lib/executor/externally-controlled.go +++ b/lib/executor/externally-controlled.go @@ -267,10 +267,10 @@ func (mex *ExternallyControlled) UpdateConfig(ctx context.Context, newConf inter return ...
Fix new param check in the externally controlled executor
loadimpact_k6
train
go
8df1eb8361878c60b739d615048f905efe36b9be
diff --git a/test/test_container.py b/test/test_container.py index <HASH>..<HASH> 100644 --- a/test/test_container.py +++ b/test/test_container.py @@ -492,8 +492,7 @@ def test_kill_bad_dependency(container): try: raise Exception('container error') except: - pass - exc_in...
in py3 exc_info is only available _during_ exception handling
nameko_nameko
train
py
da4edb152d46958d1ca26fa6ae516bd9c0e13112
diff --git a/lib/doh/mysql/handle.rb b/lib/doh/mysql/handle.rb index <HASH>..<HASH> 100644 --- a/lib/doh/mysql/handle.rb +++ b/lib/doh/mysql/handle.rb @@ -152,8 +152,8 @@ class Handle end def transaction - need_rollback = true query("BEGIN") + need_rollback = true begin retval = yield ...
only set need_rollback to true once BEGIN has been executed
atpsoft_dohmysql
train
rb
0273a3a85d6bd95bc0732fce045f327a267b129a
diff --git a/src/api/log.js b/src/api/log.js index <HASH>..<HASH> 100644 --- a/src/api/log.js +++ b/src/api/log.js @@ -6,7 +6,7 @@ const promisify = require('promisify-es6') module.exports = (send) => { return { tail: promisify((callback) => { - send({ + return send({ path: 'log/tail' ...
fix: Return req from tail
ipfs_js-ipfs
train
js
f941b9c3f91af335a7f028698c5b2da3af71bd71
diff --git a/django_performance_testing/registry.py b/django_performance_testing/registry.py index <HASH>..<HASH> 100644 --- a/django_performance_testing/registry.py +++ b/django_performance_testing/registry.py @@ -4,7 +4,7 @@ from django.utils.module_loading import import_string from django.utils import six -clas...
for duplicates, raise TypeError to be consistent with the rest of the code
PaesslerAG_django-performance-testing
train
py,py
c84d2684eb2269b126045c35129b004aedb2df6e
diff --git a/js/cw/Test/TestEnv.js b/js/cw/Test/TestEnv.js index <HASH>..<HASH> 100644 --- a/js/cw/Test/TestEnv.js +++ b/js/cw/Test/TestEnv.js @@ -31,13 +31,14 @@ cw.UnitTest.TestCase.subclass(cw.Test.TestEnv, 'EnvTests').methods( }, function test_getActiveXFlashVersion(self) { - if(!goog.userAgent.IE) { - thr...
js/cw/Test/TestEnv.js: test cw.env.getActiveXFlashVersion_ in non-IE browsers as well
ludiosarchive_Coreweb
train
js
9857c5fa24d13380f037b0ab2c377ed1b6976319
diff --git a/instaloader/__main__.py b/instaloader/__main__.py index <HASH>..<HASH> 100644 --- a/instaloader/__main__.py +++ b/instaloader/__main__.py @@ -143,7 +143,7 @@ def _main(instaloader: Instaloader, targetlist: List[str], for followee in profile.get_followees(): ins...
Regex target matching: Fix hashtag regex Unicode characters are allowed in hashtags, so instead of just [A-Za-z0-9], we now match all \w. Fixes #<I>.
instaloader_instaloader
train
py
8c59eae7677e1eccdbf6df31a08a668fcf47d14c
diff --git a/tchannel/serializer/json.py b/tchannel/serializer/json.py index <HASH>..<HASH> 100644 --- a/tchannel/serializer/json.py +++ b/tchannel/serializer/json.py @@ -50,12 +50,13 @@ class JsonSerializer(object): return json.loads(headers) def deserialize_body(self, obj): - if six.PY3: - ...
Cleaning up a previous mistake and catching another error
uber_tchannel-python
train
py
727d264977c70e3b6028fbac1c115b234977126d
diff --git a/xchange-gdax/src/main/java/org/knowm/xchange/gdax/service/GDAXTradeServiceRaw.java b/xchange-gdax/src/main/java/org/knowm/xchange/gdax/service/GDAXTradeServiceRaw.java index <HASH>..<HASH> 100644 --- a/xchange-gdax/src/main/java/org/knowm/xchange/gdax/service/GDAXTradeServiceRaw.java +++ b/xchange-gdax/src...
[gdax] Place stop order was using averagePrice instead of stopPrice.
knowm_XChange
train
java
e6bacad4119835d5182ae0080fa992717d6f9cf7
diff --git a/spec/support/promisepay_factory.rb b/spec/support/promisepay_factory.rb index <HASH>..<HASH> 100644 --- a/spec/support/promisepay_factory.rb +++ b/spec/support/promisepay_factory.rb @@ -40,6 +40,23 @@ module PromisepayFactory client.card_accounts.create(default_options.merge(options)) end + def ...
Add create_bank_account method to PromisepayFactory
AssemblyPayments_promisepay-ruby
train
rb
e601728dceb779b6b2aae800c66eb8b3f20f9aaa
diff --git a/actionpack/lib/action_dispatch/http/upload.rb b/actionpack/lib/action_dispatch/http/upload.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/http/upload.rb +++ b/actionpack/lib/action_dispatch/http/upload.rb @@ -31,6 +31,11 @@ module ActionDispatch @headers = hash[:head...
Provide interface for accessing underlying IO object In some cases users may need to work with/manipulate more of the Tempfile api than provided by Upload. Allow users to get at the underlying io via the common to_io method of IO/IO-like objects
rails_rails
train
rb,rb
2ed848944cc563a279807df70352517363dfc08b
diff --git a/pp_website_standard_extension.rb b/pp_website_standard_extension.rb index <HASH>..<HASH> 100644 --- a/pp_website_standard_extension.rb +++ b/pp_website_standard_extension.rb @@ -27,8 +27,8 @@ class PpWebsiteStandardExtension < Spree::Extension CartController.class_eval do before_filter :set_car...
Only set the cart user if the user is logged in.
tomash_spree-pp-website-standard
train
rb
9189c79d744e0b9fa8d399cace5948ab9cbe55af
diff --git a/lib/api/confighandler.go b/lib/api/confighandler.go index <HASH>..<HASH> 100644 --- a/lib/api/confighandler.go +++ b/lib/api/confighandler.go @@ -153,6 +153,8 @@ func (c *configMuxBuilder) registerFolder(path string) { }) c.Handle(http.MethodDelete, path, func(w http.ResponseWriter, _ *http.Request, ...
lib/api: Add missing config mod. locks (ref #<I>) (#<I>)
syncthing_syncthing
train
go
95b7ad68ce4ea7609f3284c8b3055385b51654b4
diff --git a/goodconf/__init__.py b/goodconf/__init__.py index <HASH>..<HASH> 100644 --- a/goodconf/__init__.py +++ b/goodconf/__init__.py @@ -140,7 +140,7 @@ class GoodConf(metaclass=DeclarativeValuesMetaclass): if v.help: lines.append(' {} '.format(v.help)) lines.append(' ...
Make sure `default=False` shows in the docs
lincolnloop_goodconf
train
py,py
79fbd7cf51ac866043453208e34cb88088684b91
diff --git a/src/MenuBuilder/MenuFactory.php b/src/MenuBuilder/MenuFactory.php index <HASH>..<HASH> 100644 --- a/src/MenuBuilder/MenuFactory.php +++ b/src/MenuBuilder/MenuFactory.php @@ -14,6 +14,7 @@ namespace Menu\MenuBuilder; use Cake\Core\Configure; use Cake\Datasource\EntityInterface; +use Cake\Datasource\Exce...
Catch only RecordNotFoundException (task #<I>)
QoboLtd_cakephp-menu
train
php
dba5955f1e3e6e61290965519dcc954d8ba7a7ea
diff --git a/lib/jrubyfx_tasks.rb b/lib/jrubyfx_tasks.rb index <HASH>..<HASH> 100644 --- a/lib/jrubyfx_tasks.rb +++ b/lib/jrubyfx_tasks.rb @@ -83,6 +83,12 @@ module JRubyFX FileList["#{File.dirname(__FILE__)}/*"].each do |librb| cp_r librb, target end + + #copy fxmlloader in + req...
Adding FXMLLoader support to jarification
jruby_jrubyfx
train
rb
3fd50b150f67fc9a9b37241d014c65355b08f27e
diff --git a/bit_reader.go b/bit_reader.go index <HASH>..<HASH> 100644 --- a/bit_reader.go +++ b/bit_reader.go @@ -45,6 +45,12 @@ type rarBitReader struct { n uint } +func (r *rarBitReader) reset(br io.ByteReader) { + r.r = br + r.n = 0 + r.v = 0 +} + func (r *rarBitReader) readBits(n uint) (int, error) { for n...
fix problem with extracting <I> solid archives When initializing the <I> decoder for a solid file in a solid archive, the new rarBitReader wasnt getting passed to the lz & ppm decoders. They would use the old reader which in some cases would still work (because they use the same ByteReader). Now instead of creating a...
nwaples_rardecode
train
go,go
210f02c509b341e145e20117210f7df86c81ff74
diff --git a/raygun_django_middleware/__init__.py b/raygun_django_middleware/__init__.py index <HASH>..<HASH> 100644 --- a/raygun_django_middleware/__init__.py +++ b/raygun_django_middleware/__init__.py @@ -18,8 +18,9 @@ class RaygunMiddleware(object): raygunRequest = self._mapRequest(request) # che...
don't send raygun error if unittesting
mirusresearch_raygun-django-middleware
train
py,py
cd763e28dfd74cc9fc708dbe25484327c4a324e0
diff --git a/Recorder.php b/Recorder.php index <HASH>..<HASH> 100644 --- a/Recorder.php +++ b/Recorder.php @@ -81,6 +81,10 @@ class Recorder foreach ($items as $item) { if (preg_match('#^(.+Bundle)\.php$#', $item->getBasename(), $matches)) { + if (false !== strpos(file_get_content...
[BundleRecorder] Excluded abstract bundle classes
claroline_Distribution
train
php
d97c682d98f0edb6fa2db0c6e32a59f4fafcb315
diff --git a/src/Telebot/Message.php b/src/Telebot/Message.php index <HASH>..<HASH> 100644 --- a/src/Telebot/Message.php +++ b/src/Telebot/Message.php @@ -8,9 +8,6 @@ namespace Telebot; - -use namespacetest\model\User; - class Message { /**
fix: Remove mistakenly added `use`
emados_telebot-sdk
train
php
9c5ea61b6b1d90850fb6a9fe95b48d6d63b977fd
diff --git a/pandas/tests/groupby/transform/test_transform.py b/pandas/tests/groupby/transform/test_transform.py index <HASH>..<HASH> 100644 --- a/pandas/tests/groupby/transform/test_transform.py +++ b/pandas/tests/groupby/transform/test_transform.py @@ -769,6 +769,18 @@ def test_transform_numeric_ret(cols, exp, comp_f...
API: transform behaves differently with 'ffill' on DataFrameGroupBy and SeriesGroupBy (#<I>)
pandas-dev_pandas
train
py
031db729247fc8316b90b9e703a321b5d156613d
diff --git a/playhouse/reflection.py b/playhouse/reflection.py index <HASH>..<HASH> 100644 --- a/playhouse/reflection.py +++ b/playhouse/reflection.py @@ -558,7 +558,7 @@ class Introspector(object): for db_column, column in columns[table].items(): FieldClass = column.field_class ...
Actually, use BareField instead...
coleifer_peewee
train
py
fb0058d607c909db9afff498c3e6a589e1cfa605
diff --git a/src/core/events.js b/src/core/events.js index <HASH>..<HASH> 100644 --- a/src/core/events.js +++ b/src/core/events.js @@ -41,7 +41,10 @@ export class Events { update(state) { for (const item of this.dispatch) { const action = gameEvent(item.key, item.args, this.playerID); - state = this...
make events.update() leave unrelated state fields untouched
nicolodavis_boardgame.io
train
js,js
c96d02599814b646d71bab2b3d34731e7b915b32
diff --git a/ginga/rv/plugins/Cursor.py b/ginga/rv/plugins/Cursor.py index <HASH>..<HASH> 100644 --- a/ginga/rv/plugins/Cursor.py +++ b/ginga/rv/plugins/Cursor.py @@ -115,12 +115,12 @@ class Cursor(GingaPlugin.GlobalPlugin): pass def readout_config(self, fitsimage, image, readout): + if (readout ...
Fix for when readout is ommitted from the workspace
ejeschke_ginga
train
py
c89420a436ec7d3759f2d66ac69dd176ef323228
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,6 +12,7 @@ # serve to show the default. import sys, os +from datetime import datetime # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.p...
docs: copyright year always current
vingd_vingd-api-python
train
py
86ed5823f72146772bf8c75729113625681f5579
diff --git a/spec/unit/resource/dsc_resource_spec.rb b/spec/unit/resource/dsc_resource_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/resource/dsc_resource_spec.rb +++ b/spec/unit/resource/dsc_resource_spec.rb @@ -70,5 +70,11 @@ describe Chef::Resource::DscResource do end end end + + contex...
Add spec to check that powershell dsl methods are usable inside dsc_resource
chef_chef
train
rb
cade2951b8c4dc1407f623ef9b1dd35a2c9b9c42
diff --git a/model/MediaSource.php b/model/MediaSource.php index <HASH>..<HASH> 100644 --- a/model/MediaSource.php +++ b/model/MediaSource.php @@ -178,11 +178,6 @@ class MediaSource extends ConfigurableService implements MediaManagement, Proces return $file; } - private function getFileRefSerializer(...
moved location of private getFileRefSerializer
oat-sa_extension-tao-mediamanager
train
php
25782d95da9094cd0bfeff3b552f8a6043f8b0c8
diff --git a/Kwf/Assets/Dependency/File/Css.php b/Kwf/Assets/Dependency/File/Css.php index <HASH>..<HASH> 100644 --- a/Kwf/Assets/Dependency/File/Css.php +++ b/Kwf/Assets/Dependency/File/Css.php @@ -99,7 +99,7 @@ class Kwf_Assets_Dependency_File_Css extends Kwf_Assets_Dependency_File $contents = str_replac...
Do not remove comments from CSS Otherwise styles-editor in RTE doesn't find styles anymore
koala-framework_koala-framework
train
php
6b626e6517c548a15f6c56358e0e3c8f696d9460
diff --git a/mdata/aggmetrics.go b/mdata/aggmetrics.go index <HASH>..<HASH> 100644 --- a/mdata/aggmetrics.go +++ b/mdata/aggmetrics.go @@ -93,8 +93,8 @@ func (ms *AggMetrics) GC() { } ms.RLock() orgActive := len(ms.Metrics[org]) - orgActiveMetrics.Set(float64(orgActive)) ms.RUnlock() + orgActiveMetr...
no need for this to be in critical section
grafana_metrictank
train
go
93e58a5db5a9508aefa36026a0159976ea96f529
diff --git a/lib/email_address.rb b/lib/email_address.rb index <HASH>..<HASH> 100644 --- a/lib/email_address.rb +++ b/lib/email_address.rb @@ -14,10 +14,12 @@ module EmailAddress end class << self - %i(valid? error normal redact munge canonical reference).each do |proxy_method| + (%i[valid? error normal r...
Check proxy methods against publicly defined methods in EmailAddress::Address
afair_email_address
train
rb
11f937335bc2d1bbf8399669ff0c534425e1d93a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,11 +5,8 @@ from distutils.core import setup setup( name='iktomi.unstable', version='0.3', - packages=['iktomi.unstable'], - # XXX isn't it needed? Or is it only for py3k? - #namespace_packages=['iktomi']...
fixed packages option in `setup.py`
SmartTeleMax_iktomi
train
py
42576718a298923f0179bdb6b4ccfd19998824d7
diff --git a/lib/rubocop/cop/style/redundant_self.rb b/lib/rubocop/cop/style/redundant_self.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/cop/style/redundant_self.rb +++ b/lib/rubocop/cop/style/redundant_self.rb @@ -93,12 +93,10 @@ module RuboCop def on_send(node) receiver, method_name, *_args ...
Reduce complexity in RedundantSelf Extract `regular_method_call?` from `on_send`.
rubocop-hq_rubocop
train
rb
0c6cb330ec0a62f826b7c8be09c0e35a6a5c3e3c
diff --git a/app/readers/mzidplus.py b/app/readers/mzidplus.py index <HASH>..<HASH> 100644 --- a/app/readers/mzidplus.py +++ b/app/readers/mzidplus.py @@ -12,10 +12,12 @@ def mzid_spec_result_generator(mzidfile, namespace): return basereader.generate_tags_multiple_files( [mzidfile], 'SpectrumIden...
Apparently misinterpreted what ignore_tags should be. Dumbass.
glormph_msstitch
train
py
92ae2241a62b31e22ff8cf24ea64f26dfeaab80f
diff --git a/src/Transformer/Helpers/RecursiveFormatterHelper.php b/src/Transformer/Helpers/RecursiveFormatterHelper.php index <HASH>..<HASH> 100644 --- a/src/Transformer/Helpers/RecursiveFormatterHelper.php +++ b/src/Transformer/Helpers/RecursiveFormatterHelper.php @@ -63,8 +63,10 @@ final class RecursiveFormatterHelp...
Fixing undefined access to $value[$propertyName]
nilportugues_php-api-transformer
train
php
73aa0cc19214e2b91ee18381685477b76cbcd020
diff --git a/pkg/client/namespaces_test.go b/pkg/client/namespaces_test.go index <HASH>..<HASH> 100644 --- a/pkg/client/namespaces_test.go +++ b/pkg/client/namespaces_test.go @@ -17,6 +17,7 @@ limitations under the License. package client import ( + "net/url" "testing" "github.com/GoogleCloudPlatform/kubernet...
Add a unit test to exercise watch
kubernetes_kubernetes
train
go
ba8b55f7911b4a74e151639150f997cca47488c9
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index <HASH>..<HASH> 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -289,7 +289,6 @@ module Rails railties.each { |r| r.run_tasks_blocks(app) } super require "rails/tasks" -...
This is not needed anymore, before_initialize block can access config
rails_rails
train
rb
80f56137fdcdfdec38ebde820e0f0bf40b54b875
diff --git a/components/input/__tests__/textarea.test.js b/components/input/__tests__/textarea.test.js index <HASH>..<HASH> 100644 --- a/components/input/__tests__/textarea.test.js +++ b/components/input/__tests__/textarea.test.js @@ -140,7 +140,7 @@ describe('TextArea', () => { it('maxLength', () => { cons...
test: Fix maxLength test case
ant-design_ant-design
train
js
f2378983d915155440efd2ce5168df779ff48c2b
diff --git a/unmarshaler_test.go b/unmarshaler_test.go index <HASH>..<HASH> 100644 --- a/unmarshaler_test.go +++ b/unmarshaler_test.go @@ -885,3 +885,19 @@ world'`, }) } } + +func TestIssue287(t *testing.T) { + b := `y=[[{}]]` + v := map[string]interface{}{} + err := toml.Unmarshal([]byte(b), &v) + require.NoErro...
encoder: added test for #<I>
pelletier_go-toml
train
go
e051e0dad626f764c16f833d00bf84c55b2526dc
diff --git a/kbfsfuse/fuse_ops.go b/kbfsfuse/fuse_ops.go index <HASH>..<HASH> 100644 --- a/kbfsfuse/fuse_ops.go +++ b/kbfsfuse/fuse_ops.go @@ -85,7 +85,7 @@ func (n *ErrorNode) Read( copy(dest, data[off:off+size]) - return fuse.ReadResultData(dest), fuse.OK + return fuse.ReadResultData(dest[:size]), fuse.OK } ...
Fix bug in ErrorNode.Read() where too much data was being returned This closes #<I>.
keybase_client
train
go
9d826f14c97f10575f9955468d5d4b40839b643f
diff --git a/scapy/layers/inet.py b/scapy/layers/inet.py index <HASH>..<HASH> 100644 --- a/scapy/layers/inet.py +++ b/scapy/layers/inet.py @@ -1076,7 +1076,7 @@ class TracerouteResult(SndRcvList): - +@conf.commands.register def traceroute(target, dport=80, minttl=1, maxttl=30, sport=RandShort(), l4 = None, f...
Added traceroute() in the list of documented functions (lsc())
secdev_scapy
train
py
b7b317ba124718791d54c946f12ac07ab8719270
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -17,7 +17,7 @@ exports.register = function (plugin,options,next) { var requestSettings = request.route.settings.plugins['hapi-negotiator']; if (requestSettings === false) { - return reply()...
change ext continuation method from reply() to reply.continue()
felipeleusin_hapi-negotiator
train
js
3517a1a907d81dd92a308b275a7ce0fd41588d90
diff --git a/src/test/java/net/wouterdanes/docker/maven/BuildImageMojoTest.java b/src/test/java/net/wouterdanes/docker/maven/BuildImageMojoTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/net/wouterdanes/docker/maven/BuildImageMojoTest.java +++ b/src/test/java/net/wouterdanes/docker/maven/BuildImageMojoTest.ja...
With normal execution, assume no plugin errors are logged.
wouterd_docker-maven-plugin
train
java
06b251d400fb064fe80114cf44c0c2e04803822e
diff --git a/b3j0f/aop/__init__.py b/b3j0f/aop/__init__.py index <HASH>..<HASH> 100755 --- a/b3j0f/aop/__init__.py +++ b/b3j0f/aop/__init__.py @@ -29,7 +29,7 @@ Provides tools to (un)weave and get advices, and check joinpoint status. """ -__version__ = '0.7.8' +__version__ = '0.7.8' #: project version __all__ =...
:add: short comment on project description in source
b3j0f_aop
train
py
d33fab82a82eb8f15727a47cbdea7a61c97c5260
diff --git a/lib/load.js b/lib/load.js index <HASH>..<HASH> 100644 --- a/lib/load.js +++ b/lib/load.js @@ -283,7 +283,7 @@ module.exports = function(options, callback){ var content = function(fn){ render({path: source}, function(err, result){ - if (err) return callback(err); + ...
Display theme source file render error directly. Prevent "Error: Callback was already called." error.
hexojs_hexo
train
js
95e6b5fe85f0f42fa05bbaf8094f53636c9331f6
diff --git a/src/Sylius/Bundle/AddressingBundle/Form/EventListener/BuildAddressFormListener.php b/src/Sylius/Bundle/AddressingBundle/Form/EventListener/BuildAddressFormListener.php index <HASH>..<HASH> 100644 --- a/src/Sylius/Bundle/AddressingBundle/Form/EventListener/BuildAddressFormListener.php +++ b/src/Sylius/Bundl...
Fix PreBind failure when address is null (Occur in embed form)
Sylius_Sylius
train
php
a10a47438814e3b9f2063e31e4652444843b7280
diff --git a/closure/goog/ui/advancedtooltip.js b/closure/goog/ui/advancedtooltip.js index <HASH>..<HASH> 100644 --- a/closure/goog/ui/advancedtooltip.js +++ b/closure/goog/ui/advancedtooltip.js @@ -356,7 +356,8 @@ goog.ui.AdvancedTooltip.prototype.handleTooltipMouseOver = function(event) { * @return {number} Hide de...
Fixes one of the warnings. R=pupius DELTA=3 (1 added, 1 deleted, 1 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=<I> git-svn-id: <URL>
google_closure-library
train
js
fa6a6394994eeecf582c862dc2f05a91a28cdad7
diff --git a/testing/__init__.py b/testing/__init__.py index <HASH>..<HASH> 100644 --- a/testing/__init__.py +++ b/testing/__init__.py @@ -9,7 +9,7 @@ __all__.extend([module.split(os.path.sep)[-2] for module in glob.glob(os.path.dirname(__file__)+'/*/__init__.py')]) # Add parent for datawrap impor...
Updated __init__ to correct add local directory first
OpenGov_python_data_wrap
train
py
eebc4ffc94e4a3cb920fdbc36e013de15b4c5d22
diff --git a/src/Plum/Deployer/RsyncDeployer.php b/src/Plum/Deployer/RsyncDeployer.php index <HASH>..<HASH> 100644 --- a/src/Plum/Deployer/RsyncDeployer.php +++ b/src/Plum/Deployer/RsyncDeployer.php @@ -46,7 +46,7 @@ class RsyncDeployer extends AbstractDeployer $login = sprintf('%s@%s:%s', $server->getUser(), ...
fix rsync dry run With dry_run turned on, rsync was called with '1' (true) value instead of --dry-run param, which essentially bypassed dry_run and performed an actual sync instead.
aerialls_Plum
train
php
1262b9a4962217f9fbd4198b36a08b273d4a7658
diff --git a/packagebuilder.go b/packagebuilder.go index <HASH>..<HASH> 100644 --- a/packagebuilder.go +++ b/packagebuilder.go @@ -47,6 +47,7 @@ var metapaths = []metapath{ metapath{path: "documents", name: "Document", hasFolder: true}, metapath{path: "email", name: "EmailTemplate", hasFolder: true}, metapath{pat...
Add Ability to Deploy Groups by Path Add ability to deploy Groups by path using `force push`.
ForceCLI_force
train
go
6132a82287a1300052a357ce29d69f54f1de0159
diff --git a/models/repo.go b/models/repo.go index <HASH>..<HASH> 100644 --- a/models/repo.go +++ b/models/repo.go @@ -1663,7 +1663,15 @@ func ReinitMissingRepositories() error { func SyncRepositoryHooks() error { return x.Where("id > 0").Iterate(new(Repository), func(idx int, bean interface{}) error { - return...
admin: sync wiki's hook files as well
gogs_gogs
train
go
0c7843b903350da863f399ea241acd550a587537
diff --git a/src/Entities/Invoice.php b/src/Entities/Invoice.php index <HASH>..<HASH> 100644 --- a/src/Entities/Invoice.php +++ b/src/Entities/Invoice.php @@ -402,4 +402,12 @@ final class Invoice extends Entity { return $this->setAttribute('notes', $value); } + + /** + * @return string + *...
Add createdTime to Invoice and Plan entities (#<I>)
Rebilly_rebilly-php
train
php,php
6959e23ab8a6c8e5574ab037526ccf21997d48a4
diff --git a/lib/Pimple.php b/lib/Pimple.php index <HASH>..<HASH> 100644 --- a/lib/Pimple.php +++ b/lib/Pimple.php @@ -104,4 +104,21 @@ class Pimple implements ArrayAccess return $object; }; } + + /** + * Protects a callable from being interpreted as a service. + * + * This is ...
added a protect() method to be able to have an anonymous function as a parameter
mnapoli_simplex
train
php,php
32c02f69d101940c2abf084fdd34393eb4588fea
diff --git a/src/Organizer/ReadModel/Search/Doctrine/DBALRepository.php b/src/Organizer/ReadModel/Search/Doctrine/DBALRepository.php index <HASH>..<HASH> 100644 --- a/src/Organizer/ReadModel/Search/Doctrine/DBALRepository.php +++ b/src/Organizer/ReadModel/Search/Doctrine/DBALRepository.php @@ -2,8 +2,8 @@ namespace ...
III-<I>: Fix DBALRepository
cultuurnet_udb3-php
train
php
2a40a0d417854961b11d7e7fd739d4a1bbf90cc8
diff --git a/lib/plucky/pagination/collection.rb b/lib/plucky/pagination/collection.rb index <HASH>..<HASH> 100644 --- a/lib/plucky/pagination/collection.rb +++ b/lib/plucky/pagination/collection.rb @@ -17,7 +17,7 @@ module Plucky end def method_missing(method, *args) - @query.send method, *args ...
fix collection method_missing delegation delegate missing methods to the pagination collection's paginator.
mongomapper_plucky
train
rb,rb
723ad87ad33edc830958777e18400655764b975e
diff --git a/salt/modules/cron.py b/salt/modules/cron.py index <HASH>..<HASH> 100644 --- a/salt/modules/cron.py +++ b/salt/modules/cron.py @@ -58,6 +58,10 @@ def _get_cron_cmdstr(user, path): def write_cron_file(user, path): ''' Writes the contents of a file to a user's crontab + + CLI Example:: + + ...
Add docstring that is missing from cron function
saltstack_salt
train
py
7c76370c71c43c147a302e018aabad954327ff64
diff --git a/features/support/env.rb b/features/support/env.rb index <HASH>..<HASH> 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -3,3 +3,6 @@ SimpleCov.start require 'aruba/cucumber' +Before do + @aruba_timeout_seconds = 300 +end \ No newline at end of file
Ensure aruba has enough time with chef dep change.
Foodcritic_foodcritic
train
rb
09397214830b1755e3357c641aeda09274034481
diff --git a/tds/src/main/java/thredds/server/ncSubset/view/CSVPointDataWriter.java b/tds/src/main/java/thredds/server/ncSubset/view/CSVPointDataWriter.java index <HASH>..<HASH> 100644 --- a/tds/src/main/java/thredds/server/ncSubset/view/CSVPointDataWriter.java +++ b/tds/src/main/java/thredds/server/ncSubset/view/CSVPo...
Fixed bug writing csv outputs in NCSS
Unidata_thredds
train
java
8bc4419040273baa749d86bb19e5c10fa0081bb6
diff --git a/spaceship/lib/spaceship/version.rb b/spaceship/lib/spaceship/version.rb index <HASH>..<HASH> 100644 --- a/spaceship/lib/spaceship/version.rb +++ b/spaceship/lib/spaceship/version.rb @@ -1,4 +1,4 @@ module Spaceship - VERSION = "0.38.4".freeze + VERSION = "0.38.5".freeze DESCRIPTION = "Ruby library to...
[spaceship] Version bump to <I> (#<I>)
fastlane_fastlane
train
rb
38c9c5a9760ddd0893721a6acecb8cdad8aa627a
diff --git a/app/controllers/devise/password_expired_controller.rb b/app/controllers/devise/password_expired_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/devise/password_expired_controller.rb +++ b/app/controllers/devise/password_expired_controller.rb @@ -15,6 +15,7 @@ class Devise::PasswordExpiredCo...
after password update on expire, the user must not login again.
phatworx_devise_security_extension
train
rb
3d9a5a3164ee1c340df2c07e0f6b388cb942faeb
diff --git a/internal/cmd/gentokens/main.go b/internal/cmd/gentokens/main.go index <HASH>..<HASH> 100644 --- a/internal/cmd/gentokens/main.go +++ b/internal/cmd/gentokens/main.go @@ -182,6 +182,8 @@ func _main() error { {Ident: "VARCHAR"}, {Ident: "YEAR"}, {Ident: "ZEROFILL"}, + {Ident: "ASC"}, + {Ident: "DE...
include ASC/DESC tokens
schemalex_schemalex
train
go,go
9650ffe3c8170b07504cc248cdb5c4524c2d3856
diff --git a/template/webpack.config.js b/template/webpack.config.js index <HASH>..<HASH> 100644 --- a/template/webpack.config.js +++ b/template/webpack.config.js @@ -11,9 +11,9 @@ module.exports = sagui().webpack({ pages: ['index'], /** - * List of Sagui plugins to disable + * List of Sagui presets...
Update the template on preset wording
saguijs_sagui
train
js
51cf0410d7f6822820b8b2dafe980ac06721cda4
diff --git a/Controller/GoogleAnalyticsController.php b/Controller/GoogleAnalyticsController.php index <HASH>..<HASH> 100755 --- a/Controller/GoogleAnalyticsController.php +++ b/Controller/GoogleAnalyticsController.php @@ -221,6 +221,6 @@ class GoogleAnalyticsController extends Controller ); } -...
CampaignChain/campaignchain#<I> After adding new location, redirect to /locations/ instead of /channels/
CampaignChain_channel-google-analytics
train
php
383107e4aae31f6bc1d2c0927e991be9ebfebca8
diff --git a/packages/veritone-dev-env/.stylelintrc.js b/packages/veritone-dev-env/.stylelintrc.js index <HASH>..<HASH> 100644 --- a/packages/veritone-dev-env/.stylelintrc.js +++ b/packages/veritone-dev-env/.stylelintrc.js @@ -9,9 +9,13 @@ module.exports = { ], 'no-eol-whitespace': null, 'declaration-emp...
ignore stylelint rule that conflicts with prettier
veritone_veritone-sdk
train
js
5bf9b5a2b67661cd6950c88b2cf89722bfc898b4
diff --git a/test/www/jxcore/bv_tests/testNativeMethod.js b/test/www/jxcore/bv_tests/testNativeMethod.js index <HASH>..<HASH> 100644 --- a/test/www/jxcore/bv_tests/testNativeMethod.js +++ b/test/www/jxcore/bv_tests/testNativeMethod.js @@ -19,7 +19,7 @@ var test = tape({ test('onPeerLost calls jxcore', function ()...
Skip 'onPeerDiscovered calls jxcore' and 'onPeerLost calls jxcore' on iOS
thaliproject_Thali_CordovaPlugin
train
js
c5eed85bec1f357615b76e07a38cbd246755886a
diff --git a/unit-tests/Extension/VarsTest.php b/unit-tests/Extension/VarsTest.php index <HASH>..<HASH> 100644 --- a/unit-tests/Extension/VarsTest.php +++ b/unit-tests/Extension/VarsTest.php @@ -185,6 +185,6 @@ class VarsTest extends TestCase // It will return variables of the most recent userland function ...
Fix test after vars renaming
phalcon_zephir
train
php
2d7911c951f0bc67614e4351bcd6e11637e13844
diff --git a/sovrin_client/test/agent/helper.py b/sovrin_client/test/agent/helper.py index <HASH>..<HASH> 100644 --- a/sovrin_client/test/agent/helper.py +++ b/sovrin_client/test/agent/helper.py @@ -9,7 +9,6 @@ from plenum.test.test_stack import checkRemoteExists, CONNECTED from sovrin_client.client.wallet.wallet impo...
fix bulldog helper code to create log file in given basedir insead of assuming default location (mainly it will help while running tests)
hyperledger-archives_indy-client
train
py
c43e1e379d4158635b9cd0e2aaeb53f98fe9dd7b
diff --git a/ajax/ajax.js b/ajax/ajax.js index <HASH>..<HASH> 100644 --- a/ajax/ajax.js +++ b/ajax/ajax.js @@ -63,7 +63,8 @@ $.xml = function( type, url, data, ret ) { $.xmlActive = 0 } - if ( xml.status && xml.status >= 200 && xml.status < 300 ) { + if ( ( xml.status && ( xml.status >= 200 && xml.st...
Improved the robustness of the response codes based upon what's in Dojo. (Ticket #<I>)
jquery_jquery
train
js
0e9148293a03d226514d6e4db90c82882105ab85
diff --git a/tests/integration/modules/pkg.py b/tests/integration/modules/pkg.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/pkg.py +++ b/tests/integration/modules/pkg.py @@ -63,8 +63,8 @@ class PkgModuleTest(integration.ModuleCase, try: repo = None if os_grain == 'Ubu...
Fix error in test Introduced in #<I> cc: @cro
saltstack_salt
train
py
4c213ea10d948f30b462b9421dc2c6864acf12b0
diff --git a/twython/endpoints.py b/twython/endpoints.py index <HASH>..<HASH> 100644 --- a/twython/endpoints.py +++ b/twython/endpoints.py @@ -135,7 +135,7 @@ class EndpointsMixin(object): to the 'update_status' method using the 'media_ids' param. Docs: - https://dev.twitter.com/rest/public/u...
Corrected the docs URL for uploading media, fixes #<I>
ryanmcgrath_twython
train
py
4baecc531cde6a6dd1e9c87f53de00a5955b0f5e
diff --git a/lib/reel/request.rb b/lib/reel/request.rb index <HASH>..<HASH> 100644 --- a/lib/reel/request.rb +++ b/lib/reel/request.rb @@ -53,12 +53,12 @@ module Reel # # If no block is given, the entire body will be read from the # connection into the body buffer and then returned. - def body(&block)...
Cleanup suggested by @raggi.
celluloid_reel
train
rb
55bb89b73e3f90472aa9a4c92c8c6bc9ab27e529
diff --git a/lib/podio/models/space.rb b/lib/podio/models/space.rb index <HASH>..<HASH> 100644 --- a/lib/podio/models/space.rb +++ b/lib/podio/models/space.rb @@ -22,6 +22,7 @@ class Podio::Space < ActivePodio::Base property :created_on, :datetime has_one :created_by, :class => 'ByLine' + has_one :org, :class ...
Org can be given when getting the space
podio_podio-rb
train
rb
28b2c612ead511bcb7622b0666b053e37048daf9
diff --git a/lib/spaceship/tunes/application.rb b/lib/spaceship/tunes/application.rb index <HASH>..<HASH> 100644 --- a/lib/spaceship/tunes/application.rb +++ b/lib/spaceship/tunes/application.rb @@ -115,7 +115,7 @@ module Spaceship if raw_data['versions'].count == 1 v = raw_data['versions'].last -...
Fixed `edit_version` if the user rejected the submission of the first release
fastlane_fastlane
train
rb
789e552c76850afb0bde5043d6b781647cb301d2
diff --git a/server/webapp/WEB-INF/rails/karma.conf.js b/server/webapp/WEB-INF/rails/karma.conf.js index <HASH>..<HASH> 100644 --- a/server/webapp/WEB-INF/rails/karma.conf.js +++ b/server/webapp/WEB-INF/rails/karma.conf.js @@ -31,7 +31,7 @@ if (process.platform === 'darwin') { childProcess.spawnSync('taskkill', ['/F...
Remove hardcoding of username (#<I>)
gocd_gocd
train
js
781648d857de4734b30dbdd44b582a4ea00c5d26
diff --git a/engine-dmn/engine/src/test/java/org/camunda/bpm/dmn/engine/feel/NewScalaFeelBehaviorTest.java b/engine-dmn/engine/src/test/java/org/camunda/bpm/dmn/engine/feel/NewScalaFeelBehaviorTest.java index <HASH>..<HASH> 100644 --- a/engine-dmn/engine/src/test/java/org/camunda/bpm/dmn/engine/feel/NewScalaFeelBehavio...
chore(dmn): add test coverage for feel-scala bugfix * Add test coverage for the bug fix in the feel-scala#<I> issue. Related to CAM-<I>
camunda_camunda-bpm-platform
train
java
8071cf52f0fcd699ceee1e262d675e20a7f06ac0
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup setup( name="Axe", - version="0.0.1a", + version="0.0.2a", author="Ju Lin", author_email="soasme@gmail.com", description="Decorator for retrying exec a met...
Bump to <I>a.
soasme_axe
train
py
b435c0e3b10c6f8ef2cf08312699579bbffad151
diff --git a/leaflet-providers.js b/leaflet-providers.js index <HASH>..<HASH> 100644 --- a/leaflet-providers.js +++ b/leaflet-providers.js @@ -538,7 +538,12 @@ variant: 'geolandbasemap' }, variants: { - basemap: 'geolandbasemap', + basemap: { + options: { + maxZoom: 20, // currently only in ...
basemapAT supports maxZoom <I> (currently only in Vienna) in layer geolandbasemp and bmaporthofoto<I>cm (#<I>)
leaflet-extras_leaflet-providers
train
js
da68ba5713a9b5e20206a266804aa6e95d7490b8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup -version = '1.0.1' +version = '1.0.2' with open('README.md', 'r') as fh: long_description = fh.read()
Increment version to <I>
lukasschwab_arxiv.py
train
py
db51046e202cbe94e6e435353b201f2191c43e88
diff --git a/select_load.go b/select_load.go index <HASH>..<HASH> 100644 --- a/select_load.go +++ b/select_load.go @@ -191,7 +191,13 @@ func (b *SelectBuilder) LoadOne(dest interface{}) error { // Returns ErrNotFound if no value was found, and it was therefore not set. func (b *SelectBuilder) LoadValue(dest interfa...
TWEAK: Validate destination interface{} is a pointer because it was an unfinished TODO. NOTESTS
gocraft_dbr
train
go
c5b518bffa786c296155c205c6158d9c72875cb9
diff --git a/packages/material-ui/src/ButtonGroup/ButtonGroup.js b/packages/material-ui/src/ButtonGroup/ButtonGroup.js index <HASH>..<HASH> 100644 --- a/packages/material-ui/src/ButtonGroup/ButtonGroup.js +++ b/packages/material-ui/src/ButtonGroup/ButtonGroup.js @@ -135,7 +135,7 @@ const ButtonGroup = React.forwardRef(...
[ButtonGroup] Allow override of the variant prop (#<I>)
mui-org_material-ui
train
js
27a6dd8272e4fc1b74f0e8dd3746764ae8901523
diff --git a/more_itertools/tests/test_more.py b/more_itertools/tests/test_more.py index <HASH>..<HASH> 100644 --- a/more_itertools/tests/test_more.py +++ b/more_itertools/tests/test_more.py @@ -2016,8 +2016,8 @@ class RlocateTests(TestCase): self.assertEqual(actual, expected) def test_efficient_rev...
Fix overflow error on <I>-bit hardware Addresses bug#<I>
erikrose_more-itertools
train
py
d489b6e26aa53fa122179d9f5fd92f15248a2bf3
diff --git a/spec/rackstash_spec.rb b/spec/rackstash_spec.rb index <HASH>..<HASH> 100644 --- a/spec/rackstash_spec.rb +++ b/spec/rackstash_spec.rb @@ -31,4 +31,14 @@ describe Rackstash do expect(Rackstash::ISO8601_PRECISION).to be_a Integer end + + it 'defines FIELD_* constants' do + constants = Rackstash...
Ensure Rackstash::FIELD_* constants are frozen strings
meineerde_rackstash
train
rb
df534b5cd3da76b6078056db1ad8e8e451ea3d99
diff --git a/modules/openwebBidAdapter.js b/modules/openwebBidAdapter.js index <HASH>..<HASH> 100644 --- a/modules/openwebBidAdapter.js +++ b/modules/openwebBidAdapter.js @@ -4,7 +4,7 @@ import { ADPOD, BANNER, VIDEO } from '../src/mediaTypes.js'; import { config } from '../src/config.js'; import find from 'core-js-p...
Openweb Bid Adapter: change remote url (#<I>) * Add markdown file * change params * Change remote url
prebid_Prebid.js
train
js
84ad16269be363d305d7453343729c3c295e9ba7
diff --git a/logging/logging.go b/logging/logging.go index <HASH>..<HASH> 100644 --- a/logging/logging.go +++ b/logging/logging.go @@ -188,10 +188,6 @@ func (logger *Logger) TimeFormat() string { return logger.timeFormat } -func (logger *Logger) SetTimeFormat(format string) { - logger.timeFormat = format -} - fun...
don't allow to set format, timeformat, and sync please define it when creating the logger. this avoids concurrency issues, otherwise we have to use lock, which slows down the logger.
ccding_go-logging
train
go
eb1c87857d9ed91ba827d53b27d6ca4172abfb51
diff --git a/lib/githubstats.rb b/lib/githubstats.rb index <HASH>..<HASH> 100644 --- a/lib/githubstats.rb +++ b/lib/githubstats.rb @@ -147,7 +147,7 @@ module GithubStats http.use_ssl = true res = http.get(uri.request_uri) code = res.code - raise("Failed loading data from GitHub: #{url} #{code}...
Stringified code I got an error message for a <I> code, so I'm guessing the code has been converted to a string. Otherwise I have no idea what the issue is, so I'm giving this a shot.
akerl_githubstats
train
rb
211e333625979186b0a8cae4673b43fdb1467194
diff --git a/pycbc/psd/estimate.py b/pycbc/psd/estimate.py index <HASH>..<HASH> 100644 --- a/pycbc/psd/estimate.py +++ b/pycbc/psd/estimate.py @@ -238,8 +238,8 @@ def interpolate(series, delta_f): interpolated series : FrequencySeries A new FrequencySeries that has been interpolated. """ - new_n =...
FIx potential underflow in estimate.py
gwastro_pycbc
train
py
9066d60a5e314025b9c228fe0f9a034383908ea1
diff --git a/harness/build.go b/harness/build.go index <HASH>..<HASH> 100755 --- a/harness/build.go +++ b/harness/build.go @@ -61,7 +61,9 @@ func Build(buildFlags ...string) (app *App, compileError *revel.Error) { if err != nil { revel.ERROR.Fatalln("Failure importing", revel.ImportPath) } - binName := path.Join...
Using full import paths for revel binaries
revel_cmd
train
go
adf60d51d5101caf6ef1de03d40932bee9cf197b
diff --git a/src/arcrest/web/_base.py b/src/arcrest/web/_base.py index <HASH>..<HASH> 100644 --- a/src/arcrest/web/_base.py +++ b/src/arcrest/web/_base.py @@ -455,8 +455,7 @@ class BaseWebOperations(object): #---------------------------------------------------------------------- def _do_get_stnd(self, url, pa...
Change the get to a post when url exceeds <I>
Esri_ArcREST
train
py
896d41514c0449b80d5f4356666da1a304324775
diff --git a/pandora/transport.py b/pandora/transport.py index <HASH>..<HASH> 100644 --- a/pandora/transport.py +++ b/pandora/transport.py @@ -172,7 +172,6 @@ class APITransport(object): if not self.start_time: self.start_time = int(time.time()) - @retries(5, exceptions=(SysCallError,)) ...
Move retry decorator to main __call__ method.
mcrute_pydora
train
py
b9f05885805976ca955d6eef1597586d0fa4e28e
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -3,7 +3,7 @@ # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py __title__ = 'spacy-nightly' -__version__ = '2.1.0a2.dev0' +__version__ = '2.1.0a1' __summary__ = 'Industrial-stre...
Set version to <I>a1
explosion_spaCy
train
py
7bb718254378d3a84ae04ffc85edf034ef75db53
diff --git a/lib/parameters/options.rb b/lib/parameters/options.rb index <HASH>..<HASH> 100644 --- a/lib/parameters/options.rb +++ b/lib/parameters/options.rb @@ -151,8 +151,7 @@ module Parameters param.value.merge!(param.coerce(value)) end end - elsif (param.type <= Types::Array) ...
Parameters::Types::Set <= Parameters::Types::Array.
postmodern_parameters
train
rb
3cd53372928ad537d9c27ae0c87a35e7f2165b37
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,8 @@ util.namespace = require('getobject'); // External libs. util.hooker = require('hooker'); util.async = require('async'); -var _ = util._ = Object.create(require('lodash')); +// Dont pollute other lodash: http...
Run lodash in context to avoid polluting other lodash. Fixes GH-<I> (#<I>) Fixes GH-<I> The Object.create solution I implemented #<I> wasn't a good one. As it breaks calling the lodash function directly: grunt.util._() Lodash has a function to create our own instance though: runInContext which is a better soluti...
gruntjs_grunt-legacy-util
train
js
dab1871a74e964689a6736dd18172185557091e4
diff --git a/js/tests/roundtrip-test.js b/js/tests/roundtrip-test.js index <HASH>..<HASH> 100644 --- a/js/tests/roundtrip-test.js +++ b/js/tests/roundtrip-test.js @@ -22,14 +22,14 @@ plainCallback = function ( results ) { output += testDivider; if ( result.type === 'fail' ) { - output += 'Wikitext diff:\n\n';...
Title sections as semantic/syntactic differences Change-Id: Ib<I>dd5af<I>d<I>f7ddd<I>ab4e
wikimedia_parsoid
train
js